Create an API token
- Log into the Metronome App here.
- Navigate to Connections → API tokens & webhooks → Add.
- Create a new token and give it a descriptive name.
- Make sure to copy the token to a secure location before clicking Done.
Learn more about Metronome API authentication here.
Install the Metronome SDK
- Install the SDK in your environment.
- Configure the SDK by passing in your API key . By default, the SDK looks for the API key under the environment variable METRONOME_BEARER_TOKEN.
Learn more about the Metronome SDK here.
Test the API
- Make a test API call - for example, list the customers in your Metronome account. This will work even if your customer list is empty.
Next Steps
- Send your first usage event: track customer usage in real-time View guide →
- Check out the implementation guides View guide →