- Get your API keys from the Stripe dashboard
- Create the Stripe service in Cerb
- Use the connected account in bot behaviors
In this guide we’ll walk through the process of linking Cerb to Stripe. You’ll be able to use Stripe’s full API from bots in Cerb to automate whatever you need.
Get your API keys from the Stripe dashboard
Visit the Stripe API keys settings page.
Make a note of your Publishable Key and Secret Key for the next step.
Create the Stripe service in Cerb
Navigate to Search » Connected Services.
Click the (+) icon in the top right of the list.
Enter your Publishable Key and Secret Key.
Click the Create button.
Use the connected account in bot behaviors
You can use the connected account you just created to access Stripe’s API from bot behaviors in Cerb. This is typically accomplished using the Execute HTTP Request action from a bot, and selecting the connected account in the Authentication: section.
You can import the Stripe Bot package for a working example.