How to Integrate AIyou with Your Website & Apps
Complete API integration tutorial and guide to embed chatbot on your website and mobile apps. Code snippets and step-by-step instructions included.
Published: January 2025•Updated: January 2025•Approx. 14 min read
Integration Methods
There are multiple ways to integrate AIyou with your platforms:
- Website widget (easiest, no coding required)
- API integration (for custom implementations)
- Mobile SDK (for native apps)
- Webhook integration (for advanced workflows)
Website Widget Integration
The simplest way to embed chatbot on your website:
<script src="https://cdn.aiyou.com/widget.js"></script>
<script>
AIyou.init({
apiKey: 'YOUR_API_KEY',
position: 'bottom-right'
});
</script>API Integration
For custom implementations, use the REST API:
const response = await fetch('https://api.aiyou.com/v1/chat', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
message: 'User message here',
conversation_id: 'optional-conversation-id'
})
});Ready to Integrate?
Start integrating AIyou with your website and apps today.
Start Free Trial →