Before You Start
You need a Supertab Connect customer account and a registered System representing your bot or agent.- Create your account — sign up at customer-connect.supertab.co
- Register a System — in the dashboard, go to Systems → Create System and give it a descriptive name (e.g., “Production RAG Agent”, “News Indexer”)
- Generate credentials — on the System Details page, generate a
client_idandclient_secret - Save your credentials — you will need both the
client_idandclient_secretto obtain license tokens
- The exact protected resource URL you want to access, for example
https://publisher.com/premium/article-123 - An active license agreement between your organization and the publisher
Acquire Licenses
- Your system identifies the exact URL it wants to access
- The SDK fetches and evaluates the publisher’s
license.xml - It finds the best matching content rule for the requested resource.
- The SDK then requests a license token for the appropriate content pattern from the License Server using your credentials.
- Send your license token as an
Authorization: License <token>heade on subsequent requests.
Obtain a Token
Call
obtainLicenseToken() for every page you wish to access.The SDK handles determining the licensing basis for you and manages token expiration.Full Example
Related Docs
TypeScript SDK
TypeScript-specific reference with CDN handler examples.
Open Licensing Protocol
Token acquisition, client authentication, and JWKS verification.