In Metronome, customers are the recipients of an invoice and may represent individual users, enterprises, API keys, or whatever specification your organization needs. This guide describes how to create a customer in Metronome.Creating your customer includes creating the customer object and configuring the optional associated billing configurations.
INFOA customer needs at least one contract provisioned to start rating for billing. You can also configure multiple contracts per customer, if needed.
Ingest aliases map your internal customer identifiers to Metronome’s customer ID. When you send usage keyed on an ingest alias, Metronome automatically associates it to the correct Metronome customer. This allows you to maintain your existing customer entities without needing to swap in a Metronome customer ID.Ingest aliases can also be used to maintain account hierarchy. Enterprise customers often have sub-organizations that roll up to a single contract. Use ingest aliases to model this. For example, you can represent the enterprise organization as a customer in Metronome, with each sub-organization represented by an ingest alias attached to that customer:
You can split out each sub-organization’s usage on the invoice Metronome generates. Learn how to use group keys to modify invoice presentation.Ingest aliases can be specified on the Metronome customer object at time of creation or any point after. Retroactively adding an ingest alias on the customer is a way to take Metronome out of the hot path of customer signup while properly metering usage. For example, if you first send usage keyed on IngestAlias1 and later add this ingest alias to an existing customer, Metronome retroactively associates that usage to the correct customer.
Use the Metronome API to build a flow for creating customers in Metronome programmatically based on sales-led or product-led motions.For a sales-led motion, you might use Salesforce CPQ to capture opportunities. When an opportunity closes, you can schedule a job to create a customer using the Metronome API.This example request shows how to:
Create a mock customer, WidgetsExpress, in Metronome
Codify the relationship between the Metronome customer and the SFDC account by storing the sfdc_account_id in a custom field
For a product-led growth motion, create a similar workflow where the trigger originates from a signup on your website. Store the relationship between the Metronome customer and your internal customer object.