Getting Started
Set up stryhub and make your first integration in under 5 minutes. This guide walks you through account creation, Stripe connection, product setup, and webhook configuration.
Step 1: Create Your Account
Sign up for a stryhub account using your email address. After registration, you'll be taken to the admin dashboard where you can manage everything.
- Go to the stryhub registration page
- Enter your email and create a password
- Confirm your email address
- Log in to the admin dashboard
Step 2: Connect Your Stripe Account
stryhub uses Stripe Connect to handle payments. This means your customers' payments go directly to your Stripe account, with the platform fee automatically deducted.
- In the dashboard, go to Settings
- Click Connect Stripe Account
- You'll be redirected to Stripe to authorize the connection
- Once connected, you'll see your Stripe account status as "Active"
Step 3: Create Your First Product
Products in stryhub represent what you're selling — a SaaS subscription, a one-time purchase, or any digital product.
- Go to Products in the dashboard
- Click New Product
- Fill in the product details:
- Name: The product name your customers will see
- Price: Set a one-time or recurring price
- Currency: Choose your currency
- Billing interval: Monthly, yearly, etc. (for subscriptions)
- Click Create
After creating a product, you'll get a checkout link that you can share with customers or embed in your website.
Step 4: Configure a Webhook Endpoint
Webhooks allow stryhub to notify your system in real-time when events happen (payments, subscriptions, etc.).
- Go to Webhooks in the dashboard
- Click New Integration
- Enter your endpoint URL (e.g.,
https://your-app.com/webhooks/stryhub) - Select which events you want to receive
- Click Create Integration
You'll receive a signing secret (starts with whsec_). Save this — you'll need it to verify webhook signatures in your application.
Step 5: Generate an API Key
If your SaaS needs to interact programmatically with stryhub (create checkouts, manage subscriptions, list products), you'll need an API key.
- Go to API Keys in the dashboard
- Click New API Key
- Give it a descriptive name (e.g., "My SaaS Production")
- Copy the generated key (
sk_live_...) — it's shown only once - Store it securely in your application's environment variables
With the API key, you can make authenticated requests to the stryhub REST API:
curl https://app.stryhub.com/api/v1/products \
-H "Authorization: Bearer sk_live_your_key_here"
Available endpoints:
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/products | List products |
| GET | /api/v1/prices/:productId | List prices for a product |
| POST | /api/v1/checkout | Create a checkout session |
| POST | /api/v1/billing-portal | Create a billing portal session |
| GET | /api/v1/subscription/:id | Get subscription details |
| POST | /api/v1/subscription/:id/cancel | Cancel a subscription |
| POST | /api/v1/subscription/:id/upgrade | Upgrade/downgrade a subscription |
Step 6: Configure Your SaaS
Now paste the credentials into your SaaS application's settings:
- API Key (
sk_live_...) — for programmatic API access (optional, only if your SaaS uses the REST API) - Webhook Signing Secret (
whsec_...) — for verifying incoming webhook signatures
Where exactly you paste these depends on your SaaS. Typically there's a "Payment Integration" or "Billing Settings" section in the admin panel. The API Key lets your SaaS call stryhub endpoints, and the Webhook Secret lets it verify that incoming webhook events actually came from stryhub.
Step 7: Test Your Integration
Before going live, test that everything works correctly:
- In the Webhooks page, click the Send Test button (lightning icon) next to your endpoint
- This sends a
pingevent to your endpoint - Check the Logs to see the delivery status
- Verify your application received the webhook and responded with a
2xxstatus code
You can also create a test checkout:
- Use Stripe test mode with test card
4242 4242 4242 4242 - Complete a checkout for one of your products
- Check the webhook logs — you should see
checkout.completedandpayment.completedevents
Next Steps
- Webhook Integration Guide — Learn how to verify signatures and handle events in your application
- Affiliate Programs — Set up an affiliate program to scale your sales
- Events & API Reference — Complete reference for all event types and payload schemas