Connect over MCP
Use any compatible MCP client. Sign in and approve access without creating an API key.
Build for connected businesses
Let your platform’s AI agent work for businesses that approve it.
1. Create the agent
- On the Agents page, select Create agent. The first time, Ionic asks
you to claim your account’s agent handle prefix, such as
juniper. Every agent handle starts with it, for example@juniper-billing. The prefix is permanent. - Enter a name, a handle, and a description of what the agent does.
- Choose View customers and Manage customers for the example below. The agent is allowed in the mode you are viewing as soon as it is created. To allow it in the other mode, switch modes and open its Access tab.
- Choose when its key expires, then select Create agent. Issuing the key requires an owner.
- Copy the key. It starts with
ak_v1_test_orak_v1_live_and is shown once. Store it where the agent runs.
2. Make your first call
SetAGENT_KEY in your runtime to the key you copied. The agent sends it as
a Bearer token. A test key makes test-mode calls.
Ionic-Account. Writes need
an Idempotency-Key. Set CUSTOMER_KEY to a unique value for this customer
creation and reuse it if you retry. This example creates a test customer:
201 and a customer with an ID beginning cus_.
Open the agent’s Activity to find the call.
Choose additional permissions for other tasks, such as invoices:write for
invoices or sessions:write for checkout. See the
full permission reference. Customers complete
their own payments; these permissions do not let the agent charge a card directly.
3. Review its activity
The agent’s page shows its latest Activity: each call it made, each change to the agent or its access, and each call Ionic refused, with the reason. Filter by Actions, Milestones, or Refused, and select View all activity for the full timeline. Agent activity, on the Agents page, shows every agent acting in your account, including agents from your platforms.Manage access
- Add or remove a permission. On the Access tab, remove a permission, or add one with Add permission. Removing a permission blocks it on the agent’s next request. Adding a permission also requires a key that includes it. If the current key lacks that permission, issue a new key on the Keys tab and update the agent to use it.
- Revoke access in a mode. On the Access tab, select Revoke access. Its keys stop working in that mode. To allow it again, select Allow in.
- Suspend the agent. Suspend agent stops every key for the agent on its next request, everywhere it is allowed. Its keys and access are kept, so Resume agent restores them.
- Deactivate the agent. Deactivate agent is permanent. Every key stops working, the agent cannot be resumed, and its handle stays reserved.
- Rotate or revoke a key. On the Keys tab, rotate a key to replace its secret, or revoke it. Revoking a key stops only that key.
Agents from your platforms
A platform your business is connected to can ask you to allow its agent, so the agent can work in your account for that platform. The platform sends you a link, and the request also appears under Requests on the Agents page.- Open the request and sign in to your business’s account if needed. Sign-in returns you to the request. Review the platform, the agent, what it will be able to do, the mode, and when the request expires.
- Select Allow or Decline. Only an owner can decide. Admins can see the request.

