Your Options
You load baselayer.js straight from Baselayer with one script tag, so there’s nothing to install.
Test the tag on staging with a staging application ID and browser key. See Test Against Staging.
What You Need
For the tag, an application ID from your Baselayer team, a browser key, and your site’s origins in your allowed origins (see Set Up baselayer.js).Which Should I Pick
- Start with the tag. It works on its own.
- Check credentials in your own code when agents reach your API or MCP server rather than your pages.
- Start watch-only. Your rules record what they would decide without applying it until you turn on
enforce. See Set Your Rules.
By Stack
- Any website: Set Up baselayer.js.
- Your API or MCP server: check credentials in your own code. See the Credential Format Reference.
- Cloudflare, Akamai or another CDN: talk to your Baselayer team.
Next Steps
- Set Up baselayer.js: add the tag to your pages.
- Credential Format Reference: check credentials in your own code.
- Set Your Rules: decide what agents can do at each step.
- What baselayer.js Reports: see what the tag sends and what it never sends.