You’ll need:
An active Stripe account with live/test subscriptions
Get your Vibess.ai Organization ID and Secret Key in your account’s settings page.
Ability to add JavaScript to your web app
Developer access for HMAC implementation
➡️ Copy your Stripe API Key in your Vibes account
Go to Stripe Settings
Go to Stripe Settings
Go to https://dashboard.stripe.com/apikeys and click ‘Create restricted key’

Create your Key
Create your Key
→ Select the first option: ‘Providing this key to another website’
→ Now add a name and our website to identify your new key:

- Name: Vibes
-
URL: https://vibess.ai/


Add your API key to Vibes
Add your API key to Vibes
Click on ‘Integrate with Stripe’ and paste your API key

1️⃣ Import our JavaScript script
Add this script to your web application:2️⃣ Create an HMAC signature
Choose your preferred language to implement authentication:3️⃣ Start a cancellation flow
Use the generated HMAC token to initialize the cancellation flow:Implementation Example
JS example
JS example
Alternative Integration: Email-Based Session
If you don’t have access to the Stripe Customer ID, you can integrate using the user’s email. This method allows session-based identification and supports actions like subscription management or cancellation by matching the user’s email address. Example:Testing
- Use test mode in Stripe to verify the integration
- Confirm HMAC token generation with test credentials
- Verify cancellation flow triggers correctly


