Skip to main content
Customers (accounts) are the root of everything Alguna bills: subscriptions, usage, invoices and payments all hang off one. Before you can quote, subscribe or meter anyone, their customer record has to exist, and it has to be linkable to the record your own systems know. This page covers the three ways to create customers — automatically from a connected integration, programmatically through the API, or manually in the dashboard — and the alias mechanism that ties them to your identifiers. Use it during migration and again whenever a new system comes online. The object model is in How Alguna works.

Sync accounts from a connected system

Connected integrations can import existing customers when you first connect them and keep them in step afterwards:Each import stores the source system’s record ID on the Alguna customer, so the two stay matched even when names or emails change. If your customers live somewhere without a connector, use the API below or contact us.

External IDs (aliases)

An alias is any string that identifies a customer in one of your systems — your internal user or organization ID, a CRM record ID, a Stripe customer ID, an email. A customer can carry several. Once set, an alias works anywhere the API takes a customer: That means you never have to store Alguna IDs in your own database or CRM. Add aliases at creation or with Update a customer; connected integrations add theirs automatically.

Next