Initialization
Creating the client
import { tiun } from '@tiun/sdk';
tiun.init({
snippetId: 'YOUR_SNIPPET_ID',
language: 'en', // 'en' | 'de' | 'fr'
});Configuration options
Option
Type
Default
Description
tiun.init({
snippetId: 'YOUR_SNIPPET_ID',
language: 'en',
onReady: () => console.log('ready')
});Environment setup
Full example
Lifecycle and destroy()
Last updated
Was this helpful?

