The Sawport Widget enables secure customer interactions—video calls, chat, document upload, and e-signature—embedded directly into your website or web application.
The Sawport Widget enables secure customer interactions—video calls, chat, document upload, and e-signature—embedded directly into your website or web application.
Available integrations:
- Web (CDN Embedded)
- React SDK
- Vue.js ES Module Integration
This guide provides configuration steps and usage examples for all supported platforms.
tag:``html`
href="https://cdn.jsdelivr.net/npm/@sawport/react-sdk/dist/react-sdk.css"
rel="stylesheet"
/>
tag:`html
`$3
`html
href="https://cdn.jsdelivr.net/npm/@sawport/react-sdk/dist/react-sdk.css"
rel="stylesheet"
/>
style="position: fixed; bottom: 20px; right: 20px; z-index: 200"
id="sawport-widget"
>
`
`html`
`bash`
yarn add @sawport/react-sdk
Wrap your app with SawportContext.Provider:
`jsx
import { SawportContext } from '@sawport/react-sdk';
config: {
baseURL: 'https://{DASHBOARD_HOST_DOMAIN}',
apiURL: 'https://{DASHBOARD_HOST_DOMAIN}/api/v1/',
projectId: 'XXXXXXXXXXXXXX'
}
}}
>
`
`jsx
import { Widget } from '@sawport/react-sdk';
email: 'example@email.com',
mobile: '080XXXXXXXXX',
name: 'Firstname Lastname'
}}
/>
`
`js
import { setSawportConfig } from '@sawport/react-sdk';
setSawportConfig({
user: {
email: 'example@email.com',
mobile: '080XXXXXXXXX',
name: 'Firstname Lastname'
},
baseURL: 'https://{DASHBOARD_HOST_DOMAIN}',
apiURL: 'https://{DASHBOARD_HOST_DOMAIN}/api/v1/',
projectId: 'XXXXXXXXXXXXXX'
});
`
`bash`
yarn add @sawport/react-sdk
`html`
`vue
`
This page provides a complete guide for integrating the Sawport Widget across:
- CDN-based web apps
- React apps
- Vue.js apps
It includes configuration references, usage patterns, and API documentation for all widget-related tools.