Skip to main content

Authorization

Follow this guide to create a new ChartMogul credential that will allow Nexla to authenticate to and exchange data with your ChartMogul account.
chartmogul_api_auth.png

ChartMogul

Prerequisites

ChartMogul uses API key authentication. Before creating a credential in Nexla, you will need to generate an API key from your ChartMogul account. ChartMogul API keys are scoped to your account and grant programmatic access to your subscription data, metrics, customers, invoices, and plans.

Generate a ChartMogul API Key

  1. Log in to your ChartMogul account.

  2. Click on your Profile icon in the upper-right corner of the screen, and select View Profile from the dropdown menu.

  3. In the left-hand sidebar, click API Keys to open the API Keys management page.

  4. Click the Add API Key button.

  5. Enter a descriptive name for the key in the Name field — for example, Nexla Integration. Using a clear, descriptive name makes it easy to identify and manage keys later.

  6. Click Create to generate the new API key.

  7. The newly created key will appear in the API Keys table. Click the Reveal icon to display the key value, then click the Copy icon to copy it to your clipboard.

Important

Copy your API key immediately after creation and store it securely. For security reasons, you will need to reveal the key each time you need to access it from the ChartMogul interface. ChartMogul API keys provide access to your account data — treat them as sensitive credentials.

For complete information about ChartMogul API keys, including key management and security best practices, see the ChartMogul API Keys documentation and the ChartMogul Authentication guide.

Create a ChartMogul Credential

  • To create a new ChartMogul credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used to provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

API Key

  1. Enter your ChartMogul API key in the API Key field. This key authenticates Nexla with the ChartMogul API using HTTP Basic Authentication, where the API key is used as the username with an empty password. All API requests are made over HTTPS.

    ChartMogul API keys are tied to your ChartMogul account. Each API key provides access to all data and resources within your account, so it is recommended to create a dedicated key for the Nexla integration to allow for easy revocation if needed.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.