> For the complete documentation index, see [llms.txt](https://vouch.gitbook.io/corporate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vouch.gitbook.io/corporate/web-widget.md).

# Web Widget

Add these lines to your website code

```html
<script src="https://corp.vouch.social/sdk/vouch-web-sdk.js"></script>
<link rel="stylesheet" href="https://corp.vouch.social/sdk/css/modal.css">
```

The JS widget for your website with your AppToken & CompanyName :&#x20;

```javascript
const vouchSDK = new VouchWebSDK({
            "token": <AppToken>,
            "company": <CompanyName>
        });

        function submitForm(userPhone, userName) {
            vouchSDK.checkCustomerConnections({
                "phone": userPhone,
                "name": userName
            }).catch(error => console.error('Error checking connections:', error));
        }
```
