> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/startscreenshare.md).

# startScreenshare()

Makes the browser show the screenshare modal, so user can choose to share the entire screen or only a concrete specific window/tab.

```javascript
sambaFrame.startScreenshare();
```

**Sample use case**: \
Have a custom toolbar in your integration and want user to control screenshare from it.

{% hint style="info" %}
The related event is [screenshareStarted](/reference/sdk/methods/startscreenshare.md), if you want to be informed when a user starts a screenshare.
{% endhint %}
