import Prerequisites from "/snippets/standard-prerequisites.mdx" import ReplaceDatasetToken from "/snippets/replace-dataset-token.mdx"

Use Heroku Log Drains to send data from your Heroku apps and deployments to Axiom.

With Heroku Log Drains, you can only send data to the US East 1 (AWS) edge deployment. For more information, see [Edge deployments](/reference/edge-deployments). - [Create an account on Heroku](https://heroku.com/). - [Download and install the Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli). - [Create a Heroku app](https://devcenter.heroku.com/articles/creating-apps).

Setup

Configure Heroku Log Drains:

heroku drains:add "https://axiom:API_TOKEN@api.axiom.co/v1/datasets/DATASET_NAME/ingest" -a HEROKU_APPLICATION_NAME
Replace `HEROKU_APPLICATION_NAME` with the name of the Heroku app.

Good afternoon

I'm here to help you with the docs.

I
AIBased on your context