Revenue Intelligence · Setup Guide

Stripe Integration

Follow these steps to configure your Stripe integration with ThriveStack Revenue Intelligence.


Before you begin

Prerequisites

Required Access to the Stripe account
Required Stripe Account ID

1 Set up the Stripe connector

Open the ThriveStack Revenue setup page and complete the connector configuration:

1

Map Environments

Map your Stripe environment to your Application environment in ThriveStack.

2

Basic Configuration

Add account details and Stripe key required to sync your Stripe data.

3

Test your Stripe Connection

Test the configuration that you have set up.

4

Start Ingestion

Trigger the data sync from your Stripe account to your app environment in ThriveStack.

5

Test and save

Save and validate the connection.

2 Get Account ID & Secret Key

1

Get Account ID from URL

In the Stripe dashboard, copy your Account ID from the URL (begins with acct_...).
Example: https://dashboard.stripe.com/acct_1A2b3C4d5EfGhIjKlMn0pQrS

2

Create Restricted Secret Key

Create a new Restricted Secret Key with custom permissions.

Open Stripe API Keys

How to create a Restricted Secret Key (Read-only):

  1. In the Stripe Dashboard, open Developers from the left sidebar, then go to API keys.
  2. Click + Create restricted key.
  3. Add the key name and URL: https://app.thrivestack.ai.
  4. Set Read access for the following resources:
customers invoices invoice_items invoice_line_items plans prices products subscriptions subscriptions_items balance_transactions transactions charges disputes refunds payment_intent
  1. Click Create restricted key.
  2. Copy the generated token for the newly created key from the Restricted Keys list.

See the video below for a visual reference on creating the restricted key.

How to create a Stripe restricted key

Next steps

Once your Stripe connection is active, instrument your billing code so ThriveStack can link revenue to product usage.