Prerequisites
Before starting the setup, ensure you have:- A self-hosted ChatbotX instance accessible via a public HTTPS URL
- A TikTok Business Account registered in a supported region (personal TikTok accounts are not supported)
- Direct messages set to Everyone in your TikTok app settings (otherwise, you will need to manually accept new message requests)
- A TikTok Developer Account created at developers.tiktok.com
- Super Admin access to your ChatbotX instance
Step 1: Create a TikTok Developer Account
To get started, you must register a developer account on TikTok. This account lets you manage and configure the messaging link between TikTok and ChatbotX.1
Register as a developer
Go to developers.tiktok.com and sign up.
2
Verify account
Verify your email address and accept the Terms of Service to complete the registration.
Step 2: Register Your App
Registering your application in the developer portal provides you with the key credentials (App ID and App Secret) needed to securely link ChatbotX to TikTok.1
Create a new app
Navigate to business-api.tiktok.com/portal/apps and click Create App.
2
Fill in app details
Provide the required details:
- App Name — for example,
Your Company - ChatbotX - App Description — explain your messaging and support use case
- App Icon — upload your company logo
- Terms of Service URL — your company’s Terms of Service page
- Privacy Policy URL — your company’s privacy policy page
3
Copy App credentials
Once the app is created, copy the App ID (Client Key) and App Secret (Client Secret). You will need these to configure ChatbotX.
Step 3: Apply for Business Messaging API Access
TikTok requires you to request access to the messaging endpoints. This is a security review step to ensure data is handled safely.1
Request Business Messaging product
Open your app in the TikTok Developer Portal and find the Business Messaging API product.
2
Submit the access application
Fill out the application form with:
- Your use case (for example, providing automated customer support)
- Details on how you handle user data
- Your business/organization details
3
Wait for review
TikTok reviews the request, which typically takes a few business days. You cannot proceed with the integration until this is approved.
You will receive an email notification when your Business Messaging API access is approved. Keep an eye on the inbox associated with your TikTok Developer Account.
Step 4: Configure ChatbotX Credentials
With your TikTok credentials generated, save these settings in ChatbotX to link the integration.1
Open the Super Admin Panel
Log in to ChatbotX as a Super Admin, then navigate to:
2
Open the TikTok configuration
Find the TikTok card and click the Edit button to open the configuration modal.
3
Enter your credentials
In the configuration modal, enter your Client ID (App ID) and App Secret (Client Secret) from Step 2.
4
Save
Click Save. TikTok will now be available as a channel when creating chatbots.After saving, ChatbotX will display a Webhook URL. Copy this URL — you will use it in Step 5.
Step 5: Configure App Permissions and Redirect URLs
Once approved, you need to enable the specific account permissions and tell TikTok where to send users after they log in (Redirect URL).1
Enable permissions
In your TikTok Developer Portal app settings, ensure the TikTok Accounts permission scope is enabled.
2
Add redirect URL
Set the Redirect URL to your ChatbotX webhook endpoint:
Step 6: Connect Your TikTok Account
With the technical setup finished, you can now link your actual TikTok Business account to ChatbotX.1
Open Channels Settings
In your ChatbotX dashboard, go to Settings → Channels, expand the TikTok section, and click + Add TikTok.
2
Authorize ChatbotX on TikTok
On the TikTok authorization screen, review the requested permissions and click Continue to authorize the integration.
3
Verify connection in ChatbotX
After authorization succeeds, you will be redirected back to the ChatbotX dashboard. Confirm that the TikTok channel appears on the dashboard, and click Test Now to verify the connection is working.
Troubleshooting
TikTok channel not appearing in dashboard
TikTok channel not appearing in dashboard
Verify that you have enabled the TikTok feature for your account in the Super Admin panel and that your App ID and App Secret credentials have been saved correctly. If you are on a self-hosted installation, confirm the server has been restarted after saving the credentials.
Not receiving incoming messages
Not receiving incoming messages
Verify that the webhook URL configured in your TikTok Developer Portal points to your ChatbotX instance and that your server is accessible via public HTTPS. Also confirm that your TikTok Business Account is registered in a supported region (not EEA, Switzerland, or the UK).
Messages failing to send
Messages failing to send
Ensure you are replying within the standard 48-hour messaging window. Verify the channel is not requesting reauthorization due to expired access tokens.