# Choose an integration

> Pick SDK, REST, MCP, CLI, or skill, decide who signs, choose stablecoin, x402, MPP, or card, and check supported networks.

- Human URL: https://conto.finance/docs/guides/choose-your-integration
- Raw Markdown: https://conto.finance/docs/guides/choose-your-integration.md
- Terminal view: https://conto.finance/ai/docs/guides/choose-your-integration

Documentation group: Get started

Make three choices: how your agent calls Conto, who signs the transfer, and which payment method
the recipient accepts. The choices are independent. For example, an SDK integration can use an
external wallet to pay an x402 API.

For personal agents that shop, start with [Agentic commerce](https://conto.finance/docs/guides/agentic-commerce). It brings together Conto Commerce purchases, connected cards, checkout checkpoints, Stripe Link, and Shopify UCP discovery.

## 1. Connect your runtime

| Your task                                               | Recommended starting point                 |
| ------------------------------------------------------- | ------------------------------------------ |
| Build a backend or custom agent in TypeScript           | [TypeScript SDK](https://conto.finance/docs/sdk/installation)        |
| Build in another language or need raw HTTP              | [REST API](https://conto.finance/docs/api/reference)                 |
| Give an MCP-compatible assistant payment and read tools | [Install MCP](https://conto.finance/docs/mcp/install)                |
| Connect OpenClaw or Hermes with an existing wallet      | [Agent skills](https://conto.finance/docs/sdk/skills)                |
| Provision or inspect resources from a terminal or CI    | [CLI](https://conto.finance/docs/cli/commands)                       |
| Review activity and manage controls as a human          | [Dashboard assistant](https://conto.finance/docs/assistant/overview) |

For your first integration, use the [Tempo Testnet quickstart](https://conto.finance/docs/quickstart/setup).
An autonomous agent can start with the [simulated sandbox](https://conto.finance/docs/quickstart/agent-sandbox), which needs
no signer or funded wallet.

## 2. Choose who signs

Managed wallets use request → execute; Conto signs. External wallets use approve → your transfer → confirm; you sign, and Conto cannot block transfers outside that flow. See [wallet custody](https://conto.finance/docs/guides/custody-modes).

A contract-enforced wallet needs a deployed contract and an independently configured
authorization and signing path. Conto provides policy evaluation only. Managed `execute` cannot pay
from a smart-contract wallet.

### Hybrid integrations

Use a hybrid integration when your app runs the wallet, protocol client, or settlement path. Call Conto before paying; reporting afterward only records spend and cannot stop it.

A [shared budget](https://conto.finance/docs/sdk/shared-budgets) refuses `payments.approve()`, `x402.preAuthorize()`, `mpp.preAuthorize()` and `cards.approve()` for the agents it covers. Those agents pay from a managed wallet or a connected card.

#### Example: your own wallet

Use the [external-wallet payment example](https://conto.finance/docs/sdk/payments#external-wallet-approve-and-confirm-flow): approve, send with your signer, then confirm with the returned approval ID, token, and transaction hash. The token expires after 10 minutes. Save those values before sending; a failed confirmation must not trigger another transfer.

For protocol payments, use `x402.preAuthorize()` or `mpp.preAuthorize()`, then `x402.record()` or `mpp.record()` with the returned grant. Card overlays use `cards.approve()`, then `cards.confirm()`.

#### Hybrid checklist

- Each actor in your app maps to one Conto agent with its own SDK key, kept server-side and
  encrypted at rest.
- Spending settings live in Conto policies, or sync into them. Only the owner or authorized budget
  managers loosen them. An agent with an admin SDK key can tighten them and proposes anything looser
  for review.
- Your executor requires a Conto approval before it signs or uses credentials. A model instruction
  alone does not enforce this boundary.
- Denied payments never reach the execution layer.
- Every settled payment is recorded back to Conto: `payments.confirm()` with the transaction hash,
  `x402.record()` or `mpp.record()` with the grant, or `cards.confirm()`.

#### Map product controls to policies

| Product control                | Conto primitive                                     |
| ------------------------------ | --------------------------------------------------- |
| Max spend per action           | `SPEND_LIMIT`                                       |
| Budget per period or project   | `BUDGET_ALLOCATION` with a `BUDGET_CAP` rule        |
| Budget per x402 or MPP session | `X402_SESSION_BUDGET` or `MPP_SESSION_BUDGET` rules |
| Allowed providers or vendors   | `COUNTERPARTY` or `WHITELIST`                       |
| Human review threshold         | `APPROVAL_THRESHOLD`                                |
| Time-based restrictions        | `TIME_WINDOW` or `BLACKOUT_PERIOD`                  |

## 3. Match the recipient's payment protocol

| Recipient accepts                         | Flow                                                                                                            | Guide                                                |
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| A stablecoin transfer to a wallet address | Request and execute, or approve and externally send                                                             | [Payments](https://conto.finance/docs/sdk/payments)                            |
| An HTTP 402 challenge for a paid API      | Pre-authorize, pay and retry through your x402 integration, then record settlement with the grant               | [x402 API payments](https://conto.finance/docs/guides/x402-api-payments)       |
| MPP charges or sessions                   | Pre-authorize, use your MPP integration, then record settlement with the grant                                  | [MPP payments](https://conto.finance/docs/guides/mpp-session-payments)         |
| A card checkout                           | A connected card: Conto releases a single-use card credential after your controls pass (Builder and Enterprise) | [Connected cards](https://conto.finance/docs/guides/connected-cards)           |
| A merchant checkout your agent completes  | Check the rules before Link or another payment method opens, and again before the payment is submitted          | [Checkout checkpoints](https://conto.finance/docs/guides/checkout-checkpoints) |

Checkout checkpoints need no wallet or signer. For a Link checkout, see
[Conto with Stripe Link](https://conto.finance/docs/guides/stripe-link).

In this table, only managed wallet transfers and connected cards work for an agent a [shared budget](https://conto.finance/docs/sdk/shared-budgets) covers. The budget stops the other flows.

Pre-authorization returns a grant that the record call consumes. Your x402 or MPP client still
signs, so a payment without a grant is flagged and the owner alerted, but Conto cannot stop it.
For a `PROD` agent, a payment to a new payee, or to a payee the organization does not already pay
for that service, returns `review_required` until someone approves the payee in **Counterparties**.
Check the [supported networks](#networks) before selecting one.
If a Conto payment call returns `503 PAYMENTS_PAUSED`, stop the flow before signing or submitting
payment and ask the owner to check availability. See [error handling](https://conto.finance/docs/sdk/error-handling).

The x402 `pay`, `pre-authorize`, and `record` endpoints and MPP `pre-authorize` and `record` endpoints enforce a streaming 1 MiB request-body limit. Oversized requests return `413 INVALID_INPUT` before payment processing. Keep protocol payloads within this limit.

## Networks

Confirm the agent's wallet and network with `GET /api/sdk/setup`.

| Network       | Chain ID         | Primary stablecoin | Environment                         |
| ------------- | ---------------- | ------------------ | ----------------------------------- |
| Tempo Testnet | `42431`          | `pathUSD`          | Onchain testnet, quickstart default |
| Tempo         | `4217`           | `USDC.e`           | Mainnet                             |
| Base          | `8453`           | `USDC`             | Mainnet                             |
| Base Sepolia  | `84532`          | `USDC`             | Testnet                             |
| Ethereum      | `1`              | `USDC`             | Mainnet                             |
| Arbitrum One  | `42161`          | `USDC`             | Mainnet                             |
| Polygon       | `137`            | `USDC`             | Mainnet                             |
| Solana        | `solana-mainnet` | `USDC`             | Mainnet                             |
| Solana Devnet | `solana-devnet`  | `USDC`             | Testnet                             |

Check `GET /api/chains` for the live list.

- Managed payment requests select the wallet with `walletId` and pay on that wallet's configured
  chain. The wallet must be linked and funded.
- External approval uses `chainId`. Your signer and sender wallet must be on that chain.
- x402 settles in USDC only: use Base, Ethereum, Arbitrum, Polygon, or Solana (Base Sepolia or
  Solana Devnet for testing). Your x402 signer or client must support the service's challenge and
  settlement network. Conto does not make the paid HTTP request.
- MPP uses Tempo. Your MPP client and the service must agree on method, network, and session terms.

## Before enabling real funds

Confirm the intended custody model is available, the wallet is provisioned and funded, and your
signer can pay the network's fees. Organization-controlled managed wallets need owner setup first.
Until then, requests for that wallet type fail. See [wallet custody](https://conto.finance/docs/guides/custody-modes).

Run a small payment on the intended path and verify the final transaction, not only the authorization.
Use separate production credentials and controls, then complete [production readiness](https://conto.finance/docs/guides/production-readiness).
If the selected path is unavailable, [contact support](mailto:support@conto.finance) before funding it.

## Continue with the same payment ID

Preserve returned IDs in every integration. Human review and HTTP 402 require a next
action. A submission timeout requires reconciliation. Follow [track and recover a payment](https://conto.finance/docs/guides/payment-lifecycle)
before treating a request as settled or creating another payment intent.
