Skip to main content

Create Stripe API Key

This guide walks you through creating a restricted API key in Stripe for use with LearningFlow's Enterprise Portal payment integration.

Prerequisites

  • Access to your Stripe account
  • Administrator permissions in Stripe

Steps to Create API Key

1. Navigate to API Keys

  1. Log in to your Stripe Dashboard
  2. Use the search bar and type "api"
  3. Click on Developers > API keys from the search results

Navigate to API Keys

2. Create a Restricted Key

  1. In the Restricted keys section, click + Create restricted key
  2. Give your key a descriptive name (e.g., "LearningFlow Integration")

Create Restricted Key

3. Select Key Usage Type

To create the a restricted API key, select Providing this key to another website

Select Key Usage

4. Add Website Details

Fill the URL → https://api.learningflow.ai

Tick → Customize permissions for this key

Add Website Details

OPTIONAL (stripe already gave required permissions)

ResourcePermission Level
Checkout SessionsWrite
ProductsWrite
InvoicesRead

Optional Permissions

Optional Permissions

Stripe provides these permissions by default for restricted keys. You can turn off other permissions that are not needed. LearningFlow only requires the three permissions listed above.

5. Save and Copy the API Key

  1. Click Create key to generate your restricted API key
  2. Important: Copy the secret key immediately - it will only be shown once
  3. Store the key securely (you'll need it for the Enterprise Portal configuration)

Copy API Key

Security Best Practice

Never share your API keys publicly or commit them to version control. Treat them like passwords.

Next Steps

After creating your Stripe API key:

  1. Navigate to your Enterprise Portal Payment Settings
  2. Configure Stripe as your payment provider
  3. Paste the API key you just created
  4. Test the integration with a test transaction

Support

Need help with Stripe integration? [Contact our learningflow team] for assistance.