Developer docs

Put Meles on your site, tell it who your users are, and connect your server and your AI agents. Every signing sample on these pages runs in our CI against the test vectors it shows, so it computes what Meles checks.

You need a Meles organisation, which you create when you first sign in to the dashboard (places are limited during the beta), and a site in it: Settings → Sites in the dashboard.

Get started

  • Install Meles

    One script tag, or the npm package. Then check it's working.

  • Identify your users

    Tell Meles who is using your app, and sign each user ID on your server. Samples in Node, Python and C#.

Show the right thing

  • Targeting rules

    Who sees a campaign and when: page, device, trait and event rules, sampling, frequency caps and the fatigue budget.

  • Consent and cookieless mode

    Pass on your consent platform's answer, and choose what Meles keeps in the browser.

Build on Meles

  • Connect an AI agent

    Make a secret key, add Meles to an MCP client, and make your first tool call.

  • Webhooks

    Receive responses and campaign changes, and verify each delivery's signature. Samples in Node, Python and C#.