Installation
To start integrating Vocale into your JavaScript project, follow these simple steps:
Install Vocale: You can install Vocale via npm by running the following command in your terminal:
npm install @vocale/core
Import Vocale: Once installed, you can import Vocale into your JavaScript files as follows:
import Vocale from '@vocale/core';
Initialize Vocale: Initialize Vocale with your settings to start using it in your project. Here's an example of how to initialize Vocale:
const settings = { siteId: 'YOUR_SITE_ID', apiKey: 'YOUR_API_KEY', }; const vocale = new Vocale(settings);
Start Using Vocale: With Vocale initialized, you can now start using its features, such as synchronizing events and handling voice interactions. Next, see the Basic Usage Guide