Skip to main content

How to connect Stripe to Coworker

Connect Stripe so Coworker can reason about billing and revenue. Either credential works: connect an account with Stripe OAuth, or admin-connect it with a restricted read-only key.

What Coworker can do with Stripe

  • Index customers, subscriptions, invoices, payments and refunds

  • Produce one report per Stripe customer with billing activity: a table of recurring revenue, subscription counts and states, unpaid invoices, and lifetime invoice and payment totals — computed directly from Stripe, so the figures are exact — followed by a dated narrative of what changed

  • Answer revenue and account questions alongside CRM and support data

Which option should I use?

There are two ways to connect Stripe, and they give different access. Pick based on who should see billing data and whether Coworker should be able to change anything in Stripe.

Restricted API key

Connect with Stripe (OAuth)

Who connects it

A Coworker admin, once for the whole workspace

Each person, for their own Stripe login

Stripe role needed

Access to create API keys in Stripe

Super Administrator, Administrator or Developer (or another role that can connect apps)

What Coworker can do

Read only

Read, and make changes in Stripe

Who can use it

People your admin gives access to in Source Settings

Only the person who connected

For most teams we recommend the restricted API key. It can't change anything in Stripe, and an admin controls exactly who can see billing data.

Option 1: Restricted API key (recommended)

Create the key in Stripe

  1. In Stripe, go to Developers > API keys > Create restricted key.

  2. Set these permissions to Read: Basic Business Contact Information (required: without it the connection fails), plus Customers, Subscriptions, Invoices, Charges, PaymentIntents, Products, Prices, Payouts, Balance transactions and Disputes.

  3. Leave everything else as None, create the key, and copy it. It starts with rk_live_.

Connect Stripe by adding the key in Coworker

  1. Open Settings > Source Settings and select Stripe.

  2. Choose Paste a restricted API key, paste the key, and click Connect Stripe.

The key belongs to the workspace, not to the person who pasted it.

Choose who can use Stripe in Coworker

In Source Settings > Stripe, click Grant access and add the members or groups who should see billing data, with Read-only access. To take access away, revoke the grant in Source Settings, or disconnect Stripe.

Option 2: Connect with Stripe (OAuth)

Use this if one person wants to connect their own Stripe login. You need a Stripe role that can connect apps, like Super Administrator, Administrator or Developer.

  1. Open Settings > Data Sources and select Stripe.

  2. Choose Connect with Stripe and approve access on the Stripe page.

Stripe only offers read and write access for this kind of connection. This means Coworker can make changes in Stripe for you, like creating customers, invoices, products and prices, updating or cancelling subscriptions, and issuing refunds.

In chat, each change shows up as a draft for you to approve before it runs, unless you've turned drafts off for Stripe in your Draft action preferences. Agents follow their own approval settings.

If you only want Coworker to read Stripe, use the restricted API key instead.

Good to know

  • Anyone with access can see billing details, including amounts. Give access only to the people who need it.

  • Coworker never sees your Stripe secret keys when you connect with OAuth.

Did this answer your question?