Learn how to integrate v0 with Smooch (now Zendesk Sunshine Conversations) using our step-by-step guide. Enhance your messaging and customer support today.

Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
index.html file.<head> section.
<script src="https://cdn.smooch.io/smooch.min.js"></script>
smooch.ts (for example, inside a folder called src or the root, based on your project organization).smooch.ts:
declare var Smooch: any;
export function initSmooch() {
// Replace 'YOURINTEGRATIONID' with your actual integration ID from Zendesk Sunshine Conversations
Smooch.init({
integrationId: 'YOURINTEGRATIONID'
})
.then(() => {
console.log('Smooch initialized successfully.');
})
.catch((err: any) => {
console.error('Error initializing Smooch:', err);
});
}
app.ts or main.ts).initSmooch function from the smooch.ts file:
import { initSmooch } from './smooch';
initSmooch function once your application is ready (for instance, after DOM load or in your main startup function):
window.addEventListener('load', () => {
initSmooch();
});
Smooch initialized successfully. in the console.When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.