Adding a data source
- In your ChartMogul account, head to Admin > Data Load.
- Click on Add data source.
- In the dialogue that opens, enter a name for your connection into the Name field.
- Click on the System drop down menu and select Recurly.
- Click on Next to continue.
Add a webhook to enable real-time reporting
- In ChartMogul under Admin > Data load > Recurly > Webhook URL , you will see a Recurly webhook URL which looks similar to this: https://app.chartmogul.com/api/events/recurly/pkBwQNI3YVz6EdkYEAqAOQ
From your Recurly account sidebar select Developers > Webhooks
Click on the Configure button and on New endpoint once the next page loaded.
Paste in your Webhook URL (you can leave HTTP Auth Username & Password with the defaults)
- Hit Save changes, to complete the webhook setup.
Import your historical data
- In your Recurly account, select Developers > API Credentials from the sidebar. You will see a Private and Public key. Paste your Private key and Recurly domain into the available fields in ChartMogul.
- If your Recurly URL is mycompany.recurly.com then mycompany is your Recurly subdomain to input.
- Optional: You can create a read-only API key for added security. Click Read-Only when generating your Recurly API key.
- Click Save & Import Data. This will start your historical data import and connect your webhook. The import can take some time. Once the import has been completed, you’ll see your Recurly data in the ChartMogul dashboard.