Stripe lets the AI read your products, prices and payment data, so it can build pricing pages and order views that match your real catalogue.
What you can ask for#
Show my Stripe products and prices on a pricing page.
List the last 20 payments with their status.
Show the signed-in customer's invoices.
Connect Stripe#
Step 1: Find the connector
Open Tools, then Connectors, and search for Stripe. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in Secret. Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Stripe for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
In the Stripe Dashboard, open Developers, then API keys. A key starting sk_test_ is for testing, sk_live_ is for real money, and rk_live_ is a restricted key. Use test mode until you are ready, and prefer a restricted key with only the access you need.
What the AI can and can't do#
- Read your catalogue, customers, payments and invoices.
- The connector reads data. It does not take payments for you.
- To take payments in your app, use Swarmz Payments under Tools, then Payments. If you prefer your own Stripe account, the AI asks for your keys in a secure form and stores them as Cloud secrets. See Secrets and API keys.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
The key is rejected.
It must start with sk_live_, sk_test_ or rk_live_.
I see test data only.
You saved a test key. Replace it with a live key when you are ready.
Is this how I pay for Swarmz?
No. Your Swarmz plan is billed separately and is unrelated to this connector.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Checkout connector
The AI generates Stripe Checkout sessions with your real products and prices. Supports one-time payments, subscriptions, and usage-based billing out of the box.
Customer portal
Scaffold a customer billing portal where users can update payment methods, view invoices, cancel subscriptions, and manage their account, all backed by Stripe's hosted portal.
Webhook handling
Auto-generate webhook endpoints that verify Stripe signatures and handle events like payment_intent.succeeded, invoice.paid, and subscription.updated with proper error handling.
Product and price sync
The AI reads your Stripe product catalog so generated code references real product IDs and price IDs instead of placeholders. Test mode and live mode keys are handled separately.
More in Commerce & payments
Still stuck?
A person from Swarmz Support can take a look.