Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.kontext.so/llms.txt

Use this file to discover all available pages before exploring further.

You’ll need a publisher account to obtain your publisherToken and placement codes.

npm

npm install @kontextso/sdk-js@4

CDN

Or load the SDK from our CDN as a global script:
<script src="https://server.megabrain.co/sdk/js?type=global&publisherToken={publisherToken}"></script>
When loaded via CDN the API is available on window.KontextSdk. Replace {publisherToken} with your actual token.