Configure authorization, tenant setup, API keys, and a first policy in the Esper console.
By the end of this guide, you’ll have a working policy that can allow,
challenge, or block requests from request context, actions, entities, and
mitigation settings.
What you are trying to accomplish
By the end of this setup, you should have:
One tenant selected.
One API key for an ingest source.
One action definition.
One entity definition.
One mitigation.
One deployed policy.
One integration path connected to your traffic boundary.
Enough traffic to see policy-attributed results.
0. Pick an operation mode
Before setup, decide whether this tenant will use:
cloud: HTTP requests directly to Esper through an integration
hybrid: customer-managed Esper Hybrid runtime and local sync
See Authorization for complete authentication details.
2. Choose an integration boundary
Before you send live traffic, decide where Esper will plug into your stack.Common starting points:
Vercel
Cloudflare Workers
AWS Lambda
Heroku
See Integrations for the current recipe-backed setup
guides.
3. Create or select a tenant
Use Tenants to:
Create a tenant with name and slug.
Switch the active tenant.
Manage memberships for that tenant.
Most of the rest of the console is tenant-scoped, so this is the first
required step after authentication.
4. Issue an API key
Use API Keys to create a credential for ingest.Create a key with:
name: The label your team sees in the console.
trust_level: The trust classification for requests signed by this key.
secret: The shared secret the sending system uses to authenticate.
Use one key per major sending system. Good first examples:
Example: Web app production
Example: Checkout API
Example: Partner gateway
5. Define an action
Use Policies → Actions to define a property-specific semantic behavior.Examples:
Example: login
Example: view_article
Example: checkout_complete
An action is evaluated from traffic expressions over automatically encoded
fields. The point is to label behavior in tenant language, not backend
language.
6. Define an entity
Use Policies → Entities to define how Esper should identify and group
traffic.New tenants already start with bundled system entity definitions, so you can
either use those immediately or create a tenant-specific definition here.Examples:
Example: client_ip + user_agent
Example: ip + referer
Example: cookie + payload traits
Esper still performs encoding automatically. The entity definition is where the
tenant says which signals should count as identity.
7. Define mitigation
Use Policies → Mitigation to create reusable response behavior.Current modes:
Monitor: Observe matching traffic without taking an active step.
Challenge: Ask the client to complete an additional verification step.
Block: Stop the matching request from continuing.
Start with Monitor until you trust the traffic pattern and the policy shape.
8. Compose a policy
Use Policies → Policies to bind everything together.A policy can include:
expression: The shared traffic condition that decides when the policy is in play.
clauses: One or more policy clauses that each bind a clause match
condition, actions, entities, mitigations, and an optional window.
enabled: Whether the policy is active.
Each clause can independently say, for example, “when the foo=bar query
parameter is present, apply this mitigation” or “for this entity, if it exceeds
this share of tenant traffic over this window, apply this mitigation.” This is
the final composed object the backend evaluates.If you want Esper to react to repeated traffic instead of a single request, add
a clause window here. Current defaults are:
1 minute
3 minutes
5 minutes
60 minutes
This window feature is configured on policy clauses. Clause windows can be:
absolute count thresholds such as “5 requests in 1 minute”
traffic-share thresholds such as “more than 20% of tenant traffic in 1 hour”
9. Connect traffic and validate results
Deploy the integration you chose earlier, then send traffic through it.
Recommended RolloutStart by deploying the policy in Monitor. Once the integration is stable and
the results look correct, move to Challenge. Treat Block as the last step
in the rollout.
Once traffic is flowing for the active tenant, use:
Results to inspect policy performance.
Audit to review administrative changes.
What success looks like:
Traffic arrives through the configured source.
The deployed policy begins accumulating attributed decisions.
Results show observe, challenge, or block counts by policy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Esper Docs","description":"Documentation for configuring Esper actions, entities, mitigations, policies, integrations, and operator workflows.","colors":{"primary":"#7adaf6","light":"#97e4fa","dark":"#43b6d9"},"favicon":"https://mintcdn.com/esper/2OAIfRe4dmAQffAc/static/assets/img/favicon/favicon.ico?fit=max\u0026auto=format\u0026n=2OAIfRe4dmAQffAc\u0026q=85\u0026s=4ec890309e0f0dfad65b484b93756922","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://docs.esperr.com/intro","label":"Documentation"},{"href":"https://app.esperr.com","label":"App"}],"primary":{"type":"button","label":"Quickstart","href":"https://docs.esperr.com/quickstart"}},"footer":{"socials":{"website":"https://docs.esperr.com"},"links":[{"header":"Start here","items":[{"label":"Overview","href":"https://docs.esperr.com/intro"},{"label":"Quickstart","href":"https://docs.esperr.com/quickstart"}]},{"header":"Builder","items":[{"label":"Actions","href":"https://docs.esperr.com/actions"},{"label":"Entities","href":"https://docs.esperr.com/entities"},{"label":"Mitigation","href":"https://docs.esperr.com/mitigation"},{"label":"Policies","href":"https://docs.esperr.com/policies"},{"label":"CLI","href":"https://docs.esperr.com/cli"}]},{"header":"Integrations","items":[{"label":"Overview","href":"https://docs.esperr.com/integrations"},{"label":"Vercel","href":"https://docs.esperr.com/integrations/vercel"},{"label":"Cloudflare","href":"https://docs.esperr.com/integrations/cloudflare"},{"label":"AWS Lambda","href":"https://docs.esperr.com/integrations/aws"},{"label":"Heroku","href":"https://docs.esperr.com/integrations/heroku"}]}]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"esper","hasAudioNarration":false,"actualSubdomain":"esper","customDomains":["docs.esperr.com"],"gitSource":{"type":"github","owner":"stonehedgelabs","repo":"esper","deployBranch":"main","contentDirectory":"docs-esper.com","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae9530eae8d027847193441:success","clientVersion":"0.0.4424","searchFilterCounts":[{"language":"default","tag":"Policies","count":18},{"language":"default","tag":"Field Reference","count":11},{"language":"default","tag":"CLI","count":10},{"language":"default","tag":"Integrations","count":9},{"language":"default","tag":"Commands","count":7},{"language":"default","tag":"SDKs","count":4},{"language":"default","tag":"Settings","count":3},{"language":"default","tag":"Mitigation","count":3},{"language":"default","tag":"Services","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"quickstart","slug":"/quickstart","pageMetadata":{"title":"Quickstart","description":"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.","href":"/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`By the end of this guide, you’ll have a working policy that can allow,\nchallenge, or block requests from request context, actions, entities, and\nmitigation settings.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-are-trying-to-accomplish`,children:`What you are trying to accomplish`}),`\n`,_jsx(_components.p,{children:`By the end of this setup, you should have:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`One tenant selected.`}),`\n`,_jsx(_components.li,{children:`One API key for an ingest source.`}),`\n`,_jsx(_components.li,{children:`One action definition.`}),`\n`,_jsx(_components.li,{children:`One entity definition.`}),`\n`,_jsx(_components.li,{children:`One mitigation.`}),`\n`,_jsx(_components.li,{children:`One deployed policy.`}),`\n`,_jsx(_components.li,{children:`One integration path connected to your traffic boundary.`}),`\n`,_jsx(_components.li,{children:`Enough traffic to see policy-attributed results.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`0-pick-an-operation-mode`,children:`0. Pick an operation mode`}),`\n`,_jsx(_components.p,{children:`Before setup, decide whether this tenant will use:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`cloud`}),`: HTTP requests directly to Esper through an integration`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hybrid`}),`: customer-managed Esper Hybrid runtime and local sync`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/intro#operation-modes`,children:`Operation Modes`}),` for the deployment tradeoffs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-authorization`,children:`1. Authorization`}),`\n`,_jsx(_components.p,{children:`The current hosted login flow supports:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/auth/github/login`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/auth/google/login`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/authorization`,children:`Authorization`}),` for complete authentication details.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-choose-an-integration-boundary`,children:`2. Choose an integration boundary`}),`\n`,_jsx(_components.p,{children:`Before you send live traffic, decide where Esper will plug into your stack.`}),`\n`,_jsx(_components.p,{children:`Common starting points:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Vercel`}),`\n`,_jsx(_components.li,{children:`Cloudflare Workers`}),`\n`,_jsx(_components.li,{children:`AWS Lambda`}),`\n`,_jsx(_components.li,{children:`Heroku`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/integrations`,children:`Integrations`}),` for the current recipe-backed setup\nguides.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-create-or-select-a-tenant`,children:`3. Create or select a tenant`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Tenants`}),` to:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Create a tenant with `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`slug`}),`.`]}),`\n`,_jsx(_components.li,{children:`Switch the active tenant.`}),`\n`,_jsx(_components.li,{children:`Manage memberships for that tenant.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Most of the rest of the console is tenant-scoped, so this is the first\nrequired step after authentication.`}),`\n`,_jsx(Heading,{level:`2`,id:`4-issue-an-api-key`,children:`4. Issue an API key`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`API Keys`}),` to create a credential for ingest.`]}),`\n`,_jsx(_components.p,{children:`Create a key with:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),`: The label your team sees in the console.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trust_level`}),`: The trust classification for requests signed by this key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`secret`}),`: The shared secret the sending system uses to authenticate.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Use one key per major sending system. Good first examples:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Web app production`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Checkout API`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`Partner gateway`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`5-define-an-action`,children:`5. Define an action`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Policies → Actions`}),` to define a property-specific semantic behavior.`]}),`\n`,_jsx(_components.p,{children:`Examples:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`login`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`view_article`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`checkout_complete`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`An action is evaluated from traffic expressions over automatically encoded\nfields. The point is to label behavior in tenant language, not backend\nlanguage.`}),`\n`,_jsx(Heading,{level:`2`,id:`6-define-an-entity`,children:`6. Define an entity`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Policies → Entities`}),` to define how Esper should identify and group\ntraffic.`]}),`\n`,_jsx(_components.p,{children:`New tenants already start with bundled system entity definitions, so you can\neither use those immediately or create a tenant-specific definition here.`}),`\n`,_jsx(_components.p,{children:`Examples:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`client_ip + user_agent`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`ip + referer`})]}),`\n`,_jsxs(_components.li,{children:[`Example: `,_jsx(_components.code,{children:`cookie + payload traits`})]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Esper still performs encoding automatically. The entity definition is where the\ntenant says which signals should count as identity.`}),`\n`,_jsx(Heading,{level:`2`,id:`7-define-mitigation`,children:`7. Define mitigation`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Policies → Mitigation`}),` to create reusable response behavior.`]}),`\n`,_jsx(_components.p,{children:`Current modes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Monitor`}),`: Observe matching traffic without taking an active step.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Challenge`}),`: Ask the client to complete an additional verification step.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Block`}),`: Stop the matching request from continuing.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Start with `,_jsx(_components.code,{children:`Monitor`}),` until you trust the traffic pattern and the policy shape.`]}),`\n`,_jsx(Heading,{level:`2`,id:`8-compose-a-policy`,children:`8. Compose a policy`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Policies → Policies`}),` to bind everything together.`]}),`\n`,_jsx(_components.p,{children:`A policy can include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`expression`}),`: The shared traffic condition that decides when the policy is in play.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`clauses`}),`: One or more policy clauses that each bind a clause match\ncondition, actions, entities, mitigations, and an optional window.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`enabled`}),`: Whether the policy is active.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each clause can independently say, for example, “when the `,_jsx(_components.code,{children:`foo=bar`}),` query\nparameter is present, apply this mitigation” or “for this entity, if it exceeds\nthis share of tenant traffic over this window, apply this mitigation.” This is\nthe final composed object the backend evaluates.`]}),`\n`,_jsx(_components.p,{children:`If you want Esper to react to repeated traffic instead of a single request, add\na clause window here. Current defaults are:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`1 minute`}),`\n`,_jsx(_components.li,{children:`3 minutes`}),`\n`,_jsx(_components.li,{children:`5 minutes`}),`\n`,_jsx(_components.li,{children:`60 minutes`}),`\n`]}),`\n`,_jsx(_components.p,{children:`This window feature is configured on policy clauses. Clause windows can be:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`absolute count thresholds such as “5 requests in 1 minute”`}),`\n`,_jsx(_components.li,{children:`traffic-share thresholds such as “more than 20% of tenant traffic in 1 hour”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`9-connect-traffic-and-validate-results`,children:`9. Connect traffic and validate results`}),`\n`,_jsx(_components.p,{children:`Deploy the integration you chose earlier, then send traffic through it.`}),`\n`,_jsxs(Tip,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Recommended Rollout`})}),_jsxs(_components.p,{children:[`Start by deploying the policy in `,_jsx(_components.code,{children:`Monitor`}),`. Once the integration is stable and\nthe results look correct, move to `,_jsx(_components.code,{children:`Challenge`}),`. Treat `,_jsx(_components.code,{children:`Block`}),` as the last step\nin the rollout.`]})]}),`\n`,_jsx(_components.p,{children:`Once traffic is flowing for the active tenant, use:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Results`}),` to inspect policy performance.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Audit`}),` to review administrative changes.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`What success looks like:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Traffic arrives through the configured source.`}),`\n`,_jsx(_components.li,{children:`The deployed policy begins accumulating attributed decisions.`}),`\n`,_jsx(_components.li,{children:`Results show observe, challenge, or block counts by policy.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Next: `,_jsx(_components.a,{href:`/intro`,children:`Overview`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quickstart","description":"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.","href":"/quickstart"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What you are trying to accomplish","slug":"what-you-are-trying-to-accomplish","depth":2,"children":[]},{"title":"0. Pick an operation mode","slug":"0-pick-an-operation-mode","depth":2,"children":[]},{"title":"1. Authorization","slug":"1-authorization","depth":2,"children":[]},{"title":"2. Choose an integration boundary","slug":"2-choose-an-integration-boundary","depth":2,"children":[]},{"title":"3. Create or select a tenant","slug":"3-create-or-select-a-tenant","depth":2,"children":[]},{"title":"4. Issue an API key","slug":"4-issue-an-api-key","depth":2,"children":[]},{"title":"5. Define an action","slug":"5-define-an-action","depth":2,"children":[]},{"title":"6. Define an entity","slug":"6-define-an-entity","depth":2,"children":[]},{"title":"7. Define mitigation","slug":"7-define-mitigation","depth":2,"children":[]},{"title":"8. Compose a policy","slug":"8-compose-a-policy","depth":2,"children":[]},{"title":"9. Connect traffic and validate results","slug":"9-connect-traffic-and-validate-results","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"esper","siteName":"Esper Docs","title":"Quickstart - Esper Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-08T02:30:32.603Z","originalFileLocation":"quickstart.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Esper Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quickstart - Esper Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Esper Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.esperr.com/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://esper.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Quickstart\u0026amp;description=Configure+authorization%2C+tenant+setup%2C+API+keys%2C+and+a+first+policy+in+the+Esper+console.\u0026amp;theme=66cbff44f2ea0f85c9084c49\u0026amp;signature=a68ec5e3162e0c664540bb53c20d8f7a8c78d18d2d15f9506a6f59e25d642c10\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quickstart - Esper Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://esper.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Quickstart\u0026amp;description=Configure+authorization%2C+tenant+setup%2C+API+keys%2C+and+a+first+policy+in+the+Esper+console.\u0026amp;theme=66cbff44f2ea0f85c9084c49\u0026amp;signature=a68ec5e3162e0c664540bb53c20d8f7a8c78d18d2d15f9506a6f59e25d642c10\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/esper/ca_BXhoizpHf8LCk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Esper Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7adaf6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.esperr.com/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/quickstart.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.esperr.com/#organization\",\"name\":\"Esper Docs\",\"url\":\"https://docs.esperr.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.esperr.com#website\",\"name\":\"Esper Docs\",\"url\":\"https://docs.esperr.com\",\"publisher\":{\"@id\":\"https://docs.esperr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.esperr.com/quickstart#webpage\",\"url\":\"https://docs.esperr.com/quickstart\",\"name\":\"Quickstart\",\"description\":\"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\",\"dateModified\":\"2026-05-08T02:30:32.603Z\",\"isPartOf\":{\"@id\":\"https://docs.esperr.com#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.esperr.com/quickstart#article\",\"headline\":\"Quickstart\",\"name\":\"Quickstart\",\"description\":\"Configure authorization, tenant setup, API keys, and a first policy in the Esper console.\",\"url\":\"https://docs.esperr.com/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.esperr.com/quickstart#webpage\"},\"dateModified\":\"2026-05-08T02:30:32.603Z\",\"publisher\":{\"@id\":\"https://docs.esperr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.esperr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Esper Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Esper Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/quickstart.md","siteName":"Esper Docs","nav":{"global":null,"pages":[{"title":"Esper Docs","href":"/index"},{"title":"Overview","description":"Esper evaluates request context with tenant-defined actions, entities, mitigations, and policies.","href":"/intro"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authorization","description":"Who can access Esper and which workspace they're allowed to operate — covering operator authentication, memberships, and bearer tokens.","href":"/authorization"},{"group":"Settings","pages":[{"title":"Tenants","href":"/tenants"},{"title":"API Keys","href":"/api-keys"},{"title":"Audit","href":"/audit"}]},{"group":"Policies","pages":[{"title":"Policies","href":"/policies"},{"title":"Entities","href":"/entities"},{"title":"Actions","href":"/actions"},{"group":"Mitigation","pages":[{"title":"Mitigation","href":"/mitigation"},{"title":"Turnstile Challenge","href":"/mitigation/turnstile"},{"title":"Anubis Challenge","href":"/mitigation/anubis"}]},{"title":"Results","href":"/results"},{"group":"Field Reference","pages":[{"title":"Field Reference","href":"/field-reference"},{"title":"Request Method","href":"/field-reference/request-method"},{"title":"Request Path","href":"/field-reference/request-path"},{"title":"Headers","href":"/field-reference/headers"},{"title":"Query Parameters","href":"/field-reference/query-parameters"},{"title":"Cookies","href":"/field-reference/cookies"},{"title":"Client IP","href":"/field-reference/client-ip"},{"title":"User Agent","href":"/field-reference/user-agent"},{"title":"Body Data","href":"/field-reference/body-data"},{"title":"Referrer","href":"/field-reference/referrer"},{"title":"Timestamp","href":"/field-reference/timestamp"}]}]},{"group":"Services","pages":[{"title":"Beacon Server","href":"/beacon-server"},{"title":"Mitigation Server","href":"/mitigation-server"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/integrations/index"},{"title":"Vercel","href":"/integrations/vercel"},{"title":"Cloudflare Workers","href":"/integrations/cloudflare"},{"title":"AWS Lambda","href":"/integrations/aws"},{"title":"Heroku","href":"/integrations/heroku"},{"group":"SDKs","pages":[{"title":"SDKs Overview","href":"/sdks/overview"},{"title":"TypeScript/JavaScript SDK","href":"/sdks/typescript"},{"title":"Python SDK","href":"/sdks/python"},{"title":"Rust SDK","href":"/sdks/rust"}]}]},{"group":"CLI","pages":[{"title":"Esper CLI","href":"/cli/index"},{"title":"Authentication","href":"/cli/authentication"},{"title":"Configuration","href":"/cli/configuration"},{"group":"Commands","pages":[{"title":"Actions","href":"/cli/action"},{"title":"Entities","href":"/cli/entity"},{"title":"Keys","href":"/cli/keys"},{"title":"Mitigations","href":"/cli/mitigation"},{"title":"Policies","href":"/cli/policy"},{"title":"Hybrid Runtime","href":"/cli/hybrid"},{"title":"Results \u0026 Analytics","href":"/cli/results"}]}]}]},"basePath":"","title":"Quickstart - Esper Docs","deploymentId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","buildId":"dpl_4yZxV19iA4iQbQLKpiEbDRZbaukJ","dynamics":[],"chunks":[]}