Getting Started
Get up and running with Turna in just a few steps. Follow this guide to integrate the widget on your website.
Step 1: Sign Up
- Visit the Turna dashboard
- Create an account using email/password or social login
- Sign in to your new account
Step 2: Organization Setup
- After signing in, create or select an organization
- Your organization represents your business
- You'll receive a unique Organization ID for widget integration
Step 3: Get Your Organization ID
- Navigate to "Integrations" in your dashboard
- Your Organization ID will be displayed at the top
- Copy this ID - you'll need it for the widget code
Step 4: Choose Your Plan
By default, you start on the Free Plan (50 conversations/month, manual responses only). To unlock AI features and voice support, upgrade to Pro ($59/month) or Enterprise (custom pricing).
Quick Start Guide
Get your widget live in 5 minutes with this simple setup process.
1. Copy Your Widget Code
<script
data-organization-id="YOUR_ORGANIZATION_ID"
data-theme-color="#3b82f6"
src="https://d341yq9hp3d87h.cloudfront.net/widget.js">
</script>2. Paste Before Closing </body> Tag
Add the script snippet just before the closing </body> tag in your website's HTML.
3. Customize Your Widget
Go to "Customization" in your dashboard and configure:
- Greeting message
- Widget colors
- Welcome heading
- Suggested prompts
4. Test It
Visit your website and click the chat button in the bottom-right corner to test your widget!
Integration Instructions
Basic Integration (All Platforms)
The widget works with any website. Simply add this script tag to your HTML:
<script
data-organization-id="YOUR_ORG_ID"
data-theme-color="#3b82f6"
data-position="bottom-right"
src="https://d341yq9hp3d87h.cloudfront.net/widget.js">
</script>Attributes:
- data-organization-id - Your unique organization ID (required)
- data-theme-color - Widget color (optional, default: #3b82f6)
- data-position - "bottom-right" or "bottom-left" (optional, default: bottom-right)
Platform-Specific Instructions
HTML Websites
- Open your HTML file
- Find the </body> tag
- Paste the script just before it
- Save and upload to your server
React Applications
- Open your public/index.html file
- Add the script before </body>
- Or use React Helmet for dynamic loading
Next.js Applications
Add to your layout file (app/layout.tsx or pages/_app.tsx):
import Script from 'next/script'
<Script
src="https://d341yq9hp3d87h.cloudfront.net/widget.js"
data-organization-id="YOUR_ORG_ID"
data-theme-color="#3b82f6"
/>WordPress
- Go to Appearance → Theme Editor
- Edit footer.php
- Add script before </body>
- Or use a plugin like "Insert Headers and Footers"
Shopify
- Go to Online Store → Themes
- Click Actions → Edit Code
- Edit theme.liquid
- Add script before </body>
- Save changes
Webflow
- Go to Project Settings → Custom Code
- Paste script in Footer Code
- Publish your site
Customization Guide
Customize the widget appearance and behavior to match your brand from your dashboard.
Widget Color
Choose your brand color. Affects button, headers, and accents. Use hex format (e.g., #3b82f6).
Greeting Message
First message visitors see. Keep it friendly and helpful. Example: "Hi! How can we help you today?"
Widget Heading
Set the main title and subtitle. Example: "Customer Support" / "We typically reply in minutes"
Suggested Prompts
Up to 3 quick-access buttons. Help guide common inquiries like "Track my order" or "Pricing information".
Widget Position
Choose bottom-right (default) or bottom-left positioning via script attribute.
Vapi Settings (Pro+)
Configure Assistant ID and phone number for voice support integration.
Voice Support (Vapi Integration)
Pro Plan Required: Voice support is available on Pro ($59/month) and Enterprise plans.
What is Vapi?
Vapi is a voice AI platform that enables phone calls and voice conversations in your widget. Customers can make voice calls directly from the widget or speak to an AI assistant.
Setup Steps
Step 1: Get Vapi Account
- Sign up at vapi.ai
- Create your AI assistant
- Get your Assistant ID
- Configure your phone number (optional)
Step 2: Configure in Turna
- Go to Dashboard → Plugins
- Select "Vapi" integration
- Enter your Vapi API Key
- Click "Save"
Step 3: Add Voice Settings
- Go to Dashboard → Customization
- Scroll to "Vapi Settings"
- Enter Assistant ID
- Enter Phone Number (optional)
- Save changes
Step 4: Test Voice Support
- Visit your website
- Open the widget
- Click "Voice Support" or phone icon
- Test the voice call functionality
Voice Features
- ✓In-browser voice calls (no phone required)
- ✓Traditional phone call support
- ✓AI voice responses
- ✓Human operator escalation
- ✓Call recording and transcripts
- ✓Multiple language support
JavaScript API Reference
The widget exposes a JavaScript API for programmatic control.
Initialization
The widget auto-initializes when the script loads. Access via:
window.TurnaWidgetAvailable Methods
TurnaWidget.show()
Opens the widget programmatically
document.getElementById('help-button').addEventListener('click', () => {
window.TurnaWidget.show();
});TurnaWidget.hide()
Closes the widget programmatically
window.TurnaWidget.hide();TurnaWidget.destroy()
Completely removes the widget from the page
window.TurnaWidget.destroy();TurnaWidget.init(config)
Reinitialize widget with new configuration
window.TurnaWidget.init({
organizationId: 'new-org-id',
themeColor: '#ff0000',
position: 'bottom-left'
});Troubleshooting
Widget Not Appearing on Website
If the widget doesn't show up after adding the script:
- • Check Organization ID is correct
- • Verify script tag is before </body>
- • Clear browser cache and hard refresh (Ctrl+F5)
- • Check browser console for JavaScript errors
- • Verify no ad blockers are blocking the script
AI Responses Not Working
If the widget works but AI doesn't respond:
- • Verify you're on Pro or Enterprise plan (Free doesn't include AI)
- • Check subscription status in Billing
- • Verify conversation limit not exceeded
- • Contact support if issue persists
Voice Calls Not Working
If voice button appears but calls fail:
- • Verify Vapi plugin is configured correctly
- • Check Assistant ID is entered in Customization
- • Ensure microphone permissions are granted
- • Verify API key is valid
- • Check browser supports WebRTC
Customization Not Updating
If changes in dashboard don't reflect on website:
- • Click "Save Settings" after making changes
- • Clear browser cache
- • Hard refresh website (Ctrl+F5)
- • Wait 1-2 minutes for CDN propagation
- • Verify correct organization selected
Frequently Asked Questions
Do I need coding skills to use Turna?
No! Just copy and paste one line of code into your website. No coding skills required.
Does Turna work with my website platform?
Yes! Turna works with any website: HTML, WordPress, Shopify, React, Next.js, Wix, Squarespace, and more.
Can I try Turna before paying?
Yes! Start with our Free plan (50 conversations/month) with no credit card required. To try the Pro plan, you can start a 7-day free trial.
How long does setup take?
5 minutes or less! Sign up, get your code, paste it on your website, and you're done.
Can I customize the widget appearance?
Yes! Customize colors, messages, position, and suggested prompts to match your brand.
Does Turna slow down my website?
No! The widget loads asynchronously and doesn't affect page load times.
Can human operators take over conversations?
Yes! Customers can escalate to human support, and operators can respond through the dashboard.
Where can I get more help?
Contact us at info@turnables.tech or visit your dashboard for support.
Need More Help?
Our support team is here to help you get started with Turna