Skip to main content
Getting Prism running is the same three steps for everyone — create an account, set up a project, and generate an API key. What comes after depends on what you’re building. If you run one of the e-commerce platforms we have plugins for, you can be live in minutes with no protocol code. If you’re building something custom, the same open APIs get you there. This guide covers the shared setup, then points you to the right integration path.

Step 1: Create your District Pass

Your District Pass is one account for everything in Finance District — it’s how you log in to the Prism Console. Sign up with just an email, no KYC or wallet connection required.
1

Create your District Pass

Visit apps.fd.xyz and sign up with your email — or sign in if you already have an account.
2

Confirm your email

Enter the confirmation code sent to your inbox. Your District Pass is now active.

Step 2: Set up your project

Log in to the Prism Console with your District Pass. The Console is where you configure payments, monitor transactions, and manage credentials.
1

Create a project

Create a new Project or use the default one. Each Project has its own API keys, payment configuration, and transaction history — use separate Projects for different applications or environments (e.g. test vs. production).
2

Configure payments

Under Settings → Payments, set your merchant wallet (where settlement funds are received) and choose the tokens and chains you want to accept. You can change these anytime.
Prefer to manage everything from an AI assistant? The Prism MCP Server exposes the same setup — projects, tokens, payments — as tools for Claude Desktop, Cursor, and other MCP clients.

Step 3: Create your API key

In the Console, navigate to Project Identify Tokens and click Create Project Identify Token. Give it a descriptive name and copy the token — this is the key that links agent payments to your merchant account.
Keep your Project Identify Token secret. It authenticates via the X-API-Key header — never expose it in client-side code, public repositories, or logs. If it’s compromised, rotate it in the Console.
That’s the account setup done. Everything from here is integration — and how much you build depends on your stack.

Step 4: Choose your integration path

E-commerce platform

Running Saleor, Medusa, Shopware, PrestaShop, or WooCommerce? Install our plugin, paste your token — live in minutes, no protocol code.

Custom storefront

Headless build or an unsupported platform? Make any store agent-payable with the Prism APIs and server-side SDKs.

Monetize an API

Charge AI agents per request for an API, endpoint, or piece of content using x402 payment middleware.

Option A: E-commerce platform (fastest)

If you already run a storefront on one of the supported platforms below, you don’t write any integration code. We maintain official, open-source extensions that add agent-commerce endpoints to your store — product discovery, checkout, and on-chain settlement. The path is the same for every platform: install the extension → paste your Project Identify Token into its config → go live. Your store starts advertising a /.well-known/ucp profile, and agents can discover your catalog, check out, and pay — settled instantly in stablecoins, with no chargebacks.

E-commerce Platforms

Pick your platform and follow its install guide.

Option B: Custom storefront

No official plugin for your stack? The extensions above are convenience layers over open protocols — nothing is locked to a specific platform. Implement the same three-step merchant contract directly: advertise a /.well-known/ucp profile with the Prism payment handler, call Prism to prepare each checkout, and forward the signed payment credential to settle on-chain.

Custom Integrations

The merchant integration pattern, server-side SDKs, and the pluggable payment-handler interface our official extensions are built on.

Option C: Monetize an API or content

Not selling products — want AI agents to pay per request to access an API, endpoint, or piece of content? Protect a route with x402 payment middleware. When an agent hits it without paying, it gets a 402 Payment Required response with payment instructions; after paying, the request goes through.
1

Install the SDK

See SDK Overview for all supported frameworks including NestJS, Next.js, FastAPI, Flask, and Django.
2

Add payment middleware

3

Test it

Start your server and hit the protected endpoint — you should get a 402 Payment Required response with x402 payment instructions:
This confirms the middleware works. Any AI agent with a compatible wallet — including Agent Wallet — can now pay and access the endpoint automatically.
To test the full payment flow, use the Agent Wallet CLI or connect an Agent Wallet via MCP and ask the agent to access your endpoint.

Step 5: Go live

Whichever path you took, going to production is the same:
  1. Switch your Project to mainnet in the Console settings
  2. Generate a mainnet Project Identify Token and update your integration
  3. Set your production merchant wallet address
  4. Monitor transactions in the Prism Console
You can test with small amounts on production chains — the API and SDKs work identically regardless of transaction size.

What’s next?

E-commerce Platforms

Plugins for Saleor, Medusa, Shopware, PrestaShop, and WooCommerce

Custom Integrations

Make any store agent-payable with the open protocols and APIs

How Prism Works

Two-layer architecture and the transaction lifecycle

Prism Console

Manage tokens, transactions, analytics, and payment settings
Last modified on July 10, 2026