Skip to main content
SiteGPT provides multiple ways to integrate your chatbot into your applications and workflows.

Integration options

Embed your chatbot on any website with our lightweight JavaScript SDK.Features:
  • Easy installation with a single script tag
  • Customizable appearance and behavior
  • Programmatic control via JavaScript API
  • Event listeners for chatbot interactions
  • Mobile-responsive design
View SDK documentation

Getting started

1

Choose your integration method

Select the approach that best fits your use case: SDK for websites, API for custom apps, webhooks for real-time events, or integrations for no-code solutions.
2

Get your API key

Find your API key in your account settings. You’ll need this for API and webhook authentication.
3

Review documentation

Read the relevant documentation for your chosen integration method.
4

Test in development

Build and test your integration in a development environment before deploying to production.
5

Deploy

Once tested, deploy your integration to production and monitor its performance.

Common use cases

Website chatbot

Use the JavaScript SDK to add a chatbot to your website:
Learn more about the SDK

Custom application

Use the REST API to integrate chatbot functionality into your app:
View API reference

Real-time notifications

Use webhooks to receive instant notifications:
Learn about webhooks

No-code automation

Use Zapier to connect SiteGPT with other tools:
  1. New lead captured → Add to HubSpot
  2. Conversation escalated → Create Zendesk ticket
  3. Message sent → Log to Google Sheets
Explore Zapier integration

Authentication

API key

Your API key authenticates requests to the SiteGPT API. Finding your API key:
  1. Go to your account settings
  2. Navigate to API Keys
  3. Copy your API key
Using your API key:
Security:
  • Never expose your API key in client-side code
  • Store it securely in environment variables
  • Rotate it regularly
  • Use different keys for development and production

Webhook tokens

Webhook tokens verify that webhook requests come from SiteGPT. Setting webhook tokens:
  1. Go to Settings > Webhooks
  2. Enter a secure token for each webhook type
  3. Save your configuration
Verifying webhook tokens:

Rate limits

API requests are rate-limited to ensure fair usage:
  • Free plan: 100 requests/hour
  • Starter plan: 1,000 requests/hour
  • Pro plan: 10,000 requests/hour
  • Enterprise plan: Custom limits
Rate limit headers are included in API responses:

Best practices

Error handling

Always implement proper error handling:

Retry logic

Implement exponential backoff for failed requests:

Caching

Cache API responses when appropriate:

Logging

Log API interactions for debugging:

Support

Need help with your integration?
  • Documentation: Browse our comprehensive guides
  • API reference: Detailed endpoint documentation
  • Email support: support@sitegpt.ai
  • Community: Join our Slack community

Next steps

JavaScript SDK

Embed your chatbot on websites

REST API

Build custom integrations

Webhooks

Receive real-time notifications

Integrations

Connect with popular platforms