> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://mezmo.ferndocs.com/heroku/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server. # Heroku Logs > Mezmo provides an integration to stream, aggregate, and gain insights from Heroku logs You can set up Heroku log ingestion for Mezmo either by installing the Mezmo Heroku Add-on available in [the Heroku Elements Marketplace](https://elements.heroku.com/addons/logdna), or by setting up Heroku Log Drains. You may prefer to use Heroku log drains if you have a mixed distribution of Heroku apps and non-Heroku services. Instructions for both set up configurations are available in the Mezmo Web App. ## User Roles for Heroku-Provisioned Accounts When you provision the Mezmo add-on through Heroku, user roles are assigned automatically. If your email matches the account owner email, you receive the Owner role with full access to all Mezmo features, including the UI and API. Learn more about [Role-based Access Control](https://docs.mezmo.com/docs/rbac). ## Set Up Heroku Log Ingestion Follow the instructions in the Mezmo Web App to set up Heroku log ingestion using your Mezmo ingestion key. 1. Log in to [the Mezmo Web App](https://app.mezmo.com/account/signin). 2. In the bottom section of the left-hand navigation, click **Help**. 3. Select **Add Log Sources**. 4. Under **Via platform**, click **Heroku**. 5. Follow the instructions to set up Heroku log ingestion using the method you prefer. Note that your Mezmo ingestion key is automatically inserted into the configuration code. > If you have more than one Heroku app using the Mezmo Heroku add-on:> > - The features from the most expensive Mezmo plan will apply to all of your apps> - The data for each Mezmo plan is additive, so if you have a plan with 10 MB and another with 20 MB, your total volume would be 30 MB> - The data for each Mezmo plan is part of a total pool available to all your apps > We don't recommend that you use this option. Enabling it will cause all of your logs to be grouped under the original Heroku app where you installed the add. This makes it difficult and confusing to distinguish which log lines came from which Heroku app. Instead, we strongly recommend that you install the add-on for each Heroku app that you want to send logs to Mezmo. > You must enable logging for Private Spaces when you create them to use Private Space Logging. > If you expand the [context](https://docs.mezmo.com/docs/context) for a log line generated by a Heroku dyno, you can see the dyno information listed there. You can even filter by dyno using [a dyno field search](https://docs.mezmo.com/docs/search#field-search).> > dyno:mydyno > Mezmo provides an integration to stream, aggregate, and gain insights from Heroku logs