Setup Guide & Help
🔐 Connect Kyndly to Gmail (Manual OAuth Setup)
Kyndly's shared Gmail access is still pending Google approval — but you can connect your own Gmail account today by creating your own Google OAuth credentials. This process takes about 5–10 minutes and only needs to be done once.
Gmail OAuth Setup
📋 Overview
- Create your own Google Cloud project
- Enable the Gmail API
- Configure your OAuth consent screen
- Create OAuth credentials (Web application)
- Add the authorized redirect URLs
- Copy your Client ID and Client Secret into Kyndly
- Get your Gmail refresh token
- Finish the Gmail connection
1️⃣ Create or select a Google Cloud project
- Go to Google Cloud Console.
- Sign in with the same Google account you want to connect.
- Click the project dropdown → New Project (or select an existing one).
- Give it a name like Kyndly OAuth → click Create.
2️⃣ Enable the Gmail API
- In the left sidebar, go to APIs & Services → Library.
- Search for Gmail API → click Enable.
3️⃣ Configure the OAuth consent screen
- In the left sidebar, go to APIs & Services → OAuth consent screen.
- Choose External as the User Type → click Create.
- Fill in the form:
- App name: Kyndly Gmail Access (or anything you like)
- User support email: your Gmail address
- Developer contact info: your Gmail address
- Click Save and Continue.
- Add Scopes:
https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.sendhttps://www.googleapis.com/auth/gmail.compose(optional, for draft creation)
- Click Update → Save and Continue.
- Under Test Users, click Add Users → add your Gmail address.
- Click Save and Continue to finish.
4️⃣ Create OAuth credentials
- Go to APIs & Services → Credentials.
- Click Create Credentials → OAuth client ID.
- Choose Web application as the application type.
- Enter a name (e.g. Kyndly OAuth).
- Under Authorized redirect URIs, click + Add URI and add these two URLs:
http://localhost:5000/oauth/gmail/callback
https://kyndly.app/oauth/gmail/callback
https://developers.google.com/oauthplayground
Click Create and copy the generated Client ID and Client Secret.
5️⃣ Add credentials to Kyndly
- In Kyndly, go to Account Settings (in the navigation bar).
- Scroll to the API Keys & Integrations section.
- Paste in your:
- Gmail Client ID
- Gmail Client Secret
- Click Save Settings.
6️⃣ Get Your Gmail Refresh Token
- After adding your Client ID and Secret to Kyndly, you'll need to authorize the app
- The system will generate a refresh token automatically after you authorize
- Alternatively, you can generate a refresh token using Google's OAuth 2.0 Playground:
- Go to OAuth 2.0 Playground
- Click the gear icon (settings) in the top right
- Check "Use your own OAuth credentials"
- Enter your Client ID and Client Secret
- In the left panel, scroll to "Gmail API v1" and select the scopes you need:
https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.sendhttps://www.googleapis.com/auth/gmail.compose
- Click "Authorize APIs" and follow the prompts
- Click "Exchange authorization code for tokens"
- Copy the "Refresh token" value and paste it into Kyndly Account Settings
7️⃣ Connect Gmail
After saving, scroll to the Gmail Integration Status section and click Connect Gmail. You'll be redirected to Google's consent screen. Approve access, and you'll automatically return to Kyndly once connected.
🧩 Troubleshooting
| Problem | How to Fix |
|---|---|
| redirect_uri_mismatch | Make sure all redirect URLs in Google match exactly (protocol, domain, path). |
| No refresh token | Reauthorize with access_type=offline and prompt=consent. |
| Token expires after 7 days | Publish your app to In production mode under the OAuth consent screen. |
| Unverified App warning | Safe to continue — this only means your personal OAuth hasn't been reviewed by Google. |
💡 Optional Testing
You can use the OAuth Playground to test your credentials.
If you ever want to disconnect Kyndly from Gmail, visit Google Account Permissions and remove your app.
OpenAI API Setup
Step 1: Create an OpenAI Account
- Go to OpenAI Platform
- Sign up for an account or log in if you already have one
Step 2: Generate an API Key
- Navigate to API Keys
- Click "Create new secret key"
- Give your key a name (e.g., "Kyndly Integration")
- Copy the API key immediately - you won't be able to see it again!
- Paste this key into your Kyndly Account Settings
Step 3: Add Billing Information (if needed)
- Go to Billing
- Add a payment method to enable API usage
- Set up usage limits to control costs
Printify API Setup (Optional)
Printify integration is optional and only needed if you want automated order processing for print-on-demand products.
Step 1: Get Your Printify API Token
- Log in to your Printify account
- Go to "My Account" → "Connections" → "API"
- Click "Generate New Token"
- Copy the token and paste it into Kyndly Account Settings
Step 2: Find Your Shop ID
- In Printify, go to "My Stores"
- Your Shop ID is displayed next to your store name
- Copy this ID and paste it into Kyndly Account Settings
Agent Configuration
Setting Up Your AI Agent
- Go to Account Settings
- Enter your Agent Name (e.g., "Sarah", "Customer Support Team")
- Enter your Agent Signature (e.g., "Best regards,
Sarah
Customer Support") - Optionally upload a custom SOP.yaml or SOP.txt file to define your brand's tone and response templates
Creating a Custom SOP File
Your SOP (Standard Operating Procedure) file defines how your AI agent responds to customers:
brand:
name: "Your Brand Name"
tone: "friendly and professional"
policies:
shipping:
- "Orders ship within 2-3 business days"
- "We offer free shipping on orders over $50"
returns:
- "30-day return policy on all items"
- "Items must be unworn with tags attached"
Frequently Asked Questions
Need More Help?
If you're still having trouble setting up your integrations, we're here to help!
Contact Support