0.01 pathUSD, check its settlement, and see how Conto handles a payment that needs
approval and one it denies.
Choose your first test
1. Create your project
You need Node.js 20.19+, npm, an interactive terminal, and a browser. Sign in or create a Conto account when the wizard opens the browser.42431). The wizard creates the
agent, managed wallet, policy, and SDK key, then funds the wallet with faucet pathUSD.
It writes .env.local, .gitignore, conto.config.json, and example.mjs, and installs the CLI locally.
Store the generated credentials securely. To create each resource yourself, set up in the
dashboard instead. For CI without a browser, use the
agent sandbox quickstart.
2. Verify the wallet before sending
From the same directory:42431, the balance is positive, and the key has
payments:request and payments:execute. Fix any failed checks before continuing.
3. Request and execute one payment
0.01 pathUSD payment to a test recipient, stops if controls do not approve
it, and executes an approved request. Save the returned requestId and receipt. Each new invocation creates a
new payment intent. Use the original ID to inspect an uncertain outcome.
The response puts the transaction ID, transaction hash, and explorer URL under
receipt. A submitted testnet transfer has status: "processing" and
receipt.settlementMode: "live": here live means an onchain transfer, including testnet.
An anonymous sandbox receipt uses settlementMode: "test" instead.
4. Confirm settlement
Runexport CONTO_API_KEY="$(grep '^CONTO_API_KEY=' .env.local | cut -d= -f2-)", then replace REQUEST_ID
with the ID returned above:
status: "completed" and transaction.status: "completed". Check transaction.chain.id is "42431", and open transaction.explorerUrl to inspect the transfer on Tempo Testnet.
While it is processing, wait and check again. Do not repeat execution. See
track and recover a payment for bounded polling and error handling.
5. See approval and denial
New organizations start with two starter policies, linked to every new agent:- Up to 10 pathUSD: approved.
- Over 10 pathUSD: waits for a person to approve.
- Over 25 pathUSD, or over 100 pathUSD in a day: denied.
REQUIRES_APPROVAL and sends the owner a review request. Approving it sends the
payment, so deny it in Alerts & Approvals or let it expire. The second returns DENIED with
the reason in reasons. Edit or replace the starter policies in Policies.
If the result needs attention
Set up in the dashboard instead
1
Create your account
Sign up at conto.finance with your email and a strong password, then
create your organization. It is the top-level container for agents, wallets, and policies.
2
Create and fund a wallet
Go to Wallets > Create Wallet.
Conto assigns an onchain address when it creates the managed wallet. The wallet belongs to your
organization, and Conto controls signing. You get no separate wallet-provider account or direct
key access.To fund it, open the wallet’s menu on the Wallets page, choose Deposit, then click
Request Testnet Tokens. Free testnet
pathUSD arrives in seconds. Tempo Testnet charges gas
in pathUSD, so you need no separate gas token.To register a wallet your agent already signs for, use Wallets > Import Watch-Only instead.
For a Solana address, choose the Solana network in the import dialog. For other custody modes
(EXTERNAL, SMART_CONTRACT), see wallet custody.3
Connect an agent
Go to Agents > Connect Agent. Enter a name such as Pick Valid
Test Payment Agent, the type CUSTOM
(or your framework), and a description such as Quickstart test agent. Click Connect
Agent. The agent starts in ACTIVE status.To create the agent with the API instead, use an organization API key from Settings > API
Keys. To choose the owner, fetch a membership ID:members[].id for the org member or service account that should own the agent, then
create the agent. If you omit ownerMembershipId, Conto assigns an organization owner.agentType values: OPENAI_ASSISTANT, ANTHROPIC_CLAUDE, AUTOGPT, CUSTOM. Agent
statuses: ACTIVE, PAUSED, SUSPENDED, REVOKED.4
Link the wallet to the agent
On the agent detail page, open the Wallets tab, click Link Wallet, and pick the Tempo
Testnet wallet. If the organization has no wallet to link yet, click Create testnet wallet
in the dialog, then Get test tokens to fund it.Set spending limits. Recommended for this test:
Defaults lists the default limits, time windows, and other agent-wallet
link defaults.
5
Generate an SDK key
On the agent detail page, open the SDK Integration tab and click Generate SDK Key. Name
it (for example
Testnet Key) and keep the default Standard preset and the default
expiration of 1 year. Keys and scopes explains the presets.The full key is shown once. Save it to your environment immediately:6
Verify the setup
- the agent is available for payment calls
- the setup summary includes your Tempo Testnet wallet and balance
scopesincludespayments:requestandpayments:execute