Prerequisites
- A Stripe account with a secret API key (starts with
sk_live_orsk_test_). - A datasource already configured in Mora.
Required fields
| Field | Description | Example |
|---|---|---|
| Name | A display name for this connection. | Stripe production |
| Schema | The schema name where tables will be created. Letters and underscores only. | stripe |
| API Key | Your Stripe secret key. | sk_live_XXXX... |
| Connected accounts | Toggle on to also sync data from Stripe Connect sub-accounts. | Off |
| Sync time frame | Choose All time to sync your entire history, or Start date to sync from a specific date forward. | All time |
Conditional fields
| Field | When required | Description |
|---|---|---|
| Sync start date | When “Start date” is selected as the sync time frame. | The calendar date from which to begin syncing. |
Steps
- Open Settings → Connections → New.
- Select Stripe.
- Fill in the fields above.
- Click Create.
Getting your API key
- In the Stripe Dashboard, go to Developers → API keys.
- Copy your Secret key. Use a restricted key with read-only permissions if you prefer.