Create and activate an Agent account from a browser without exposing an API secret
All Agent API calls need Referer. Browsers manage this header; the fetch examples use the page origin and strict-origin policy. See required request headers.Use the web-form endpoint when an untrusted browser must create an account directly. Unlike the JSON Create account flow, the browser flow uses reCAPTCHA and redirects rather than exposing the account-creation API key to JavaScript.Before launch, test the signup and redirect flow with your application’s actual origin, cookie settings, and reCAPTCHA configuration.
Prerequisites
The Neuron operator must:
configure Google reCAPTCHA;
create an API key whose owner is Agent API and whose account limit has not been reached;
configure email delivery and, if phone verification is required, SMS delivery;
serve the signup page over HTTPS.
Removing the API key or setting its limit to the current account count disables public account creation.
Submit the form
Serve the signup page with Referrer-Policy: strict-origin so the browser includes its origin as Referer when submitting the form.Render the reCAPTCHA widget and submit a normal HTML form to /Agent/Account/CreateWebForm:
The endpoint consumes form data, not JSON. The redirect target must be an application URL you trust; do not copy a redirect URL from arbitrary query input.
Recover the new session
After the Neuron redirects the browser, preserve its session cookie and exchange the creation session for account state:
The created account starts disabled. Ask the user for the code delivered to their email and call Verify email. If a phone number was supplied, complete phone verification too.
Keep the returned JWT in memory where possible. Never place it in a URL, page source, analytics event, or browser log.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Neuro Developer Documentation","colors":{"primary":"#8F40D4","light":"#F5F6F7","dark":"#8F40D4"},"logo":{"light":"https://mintcdn.com/trustanchorgroupab/fwNmgGrEEuGVOqsz/logo/light.svg?fit=max\u0026auto=format\u0026n=fwNmgGrEEuGVOqsz\u0026q=85\u0026s=5bb10b797f1a595695d844b113b8d56a","dark":"https://mintcdn.com/trustanchorgroupab/fwNmgGrEEuGVOqsz/logo/dark.svg?fit=max\u0026auto=format\u0026n=fwNmgGrEEuGVOqsz\u0026q=85\u0026s=0756437e41f0c04f91e6f3abf129c500"},"favicon":"https://mintcdn.com/trustanchorgroupab/fwNmgGrEEuGVOqsz/favicon.svg?fit=max\u0026auto=format\u0026n=fwNmgGrEEuGVOqsz\u0026q=85\u0026s=5b05dd515ed525de96e3ce53dbfb3026","navbar":{"links":[{"href":"https://github.com/Neuro-Foundation","label":"GitHub"},{"href":"/neuron-api/quickstart","label":"API quickstart"}]},"footer":{"socials":{"github":"https://github.com/Neuro-Foundation","linkedin":"https://www.linkedin.com/company/trust-anchor-group"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This documentation has been reorganized. Start with the [Overview](/index) or use search to find the replacement page."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trustanchorgroupab","hasAudioNarration":false,"actualSubdomain":"trustanchorgroupab","customDomains":["docs.neuro-tech.io"],"gitSource":{"type":"github","owner":"trust-anchor-group","repo":"mintlify-docs","deployBranch":"llm-refactor","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aaab4f34ac0c638bb0a275e","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"Agent API","count":124},{"language":"default","tag":"Endpoints","count":91},{"language":"default","tag":"Build","count":43},{"language":"default","tag":"Overview","count":22},{"language":"default","tag":"Legal and contracts","count":21},{"language":"default","tag":"Accounts","count":19},{"language":"default","tag":"Resources","count":17},{"language":"default","tag":"XMPP messaging","count":16},{"language":"default","tag":"API reference","count":14},{"language":"default","tag":"Contracts and agreements","count":13}]},"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":"neuron-api/guides/browser-based-signup","slug":"/neuron-api/guides/browser-based-signup","pageMetadata":{"title":"Browser-based signup","description":"Create and activate an Agent account from a browser without exposing an API secret","href":"/neuron-api/guides/browser-based-signup"},"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: \"Create and activate an Agent account from a browser without exposing an API secret\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`All Agent API calls need `,_jsx(_components.code,{children:`Referer`}),`. Browsers manage this header; the fetch examples use the page origin and `,_jsx(_components.code,{children:`strict-origin`}),` policy. See `,_jsx(_components.a,{href:`/neuron-api/api-basics#required-referer-header`,children:`required request headers`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Use the web-form endpoint when an untrusted browser must create an account directly. Unlike the JSON `,_jsx(_components.a,{href:`/neuron-api/api-reference/accounts-and-onboarding/create-account`,children:`Create account`}),` flow, the browser flow uses reCAPTCHA and redirects rather than exposing the account-creation API key to JavaScript.`]}),`\n`,_jsx(_components.p,{children:`Before launch, test the signup and redirect flow with your application’s actual origin, cookie settings, and reCAPTCHA configuration.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`The Neuron operator must:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`configure Google reCAPTCHA;`}),`\n`,_jsxs(_components.li,{children:[`create an API key whose owner is `,_jsx(_components.code,{children:`Agent API`}),` and whose account limit has not been reached;`]}),`\n`,_jsx(_components.li,{children:`configure email delivery and, if phone verification is required, SMS delivery;`}),`\n`,_jsx(_components.li,{children:`serve the signup page over HTTPS.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Removing the API key or setting its limit to the current account count disables public account creation.`}),`\n`,_jsx(Heading,{level:`2`,id:`submit-the-form`,children:`Submit the form`}),`\n`,_jsxs(_components.p,{children:[`Serve the signup page with `,_jsx(_components.code,{children:`Referrer-Policy: strict-origin`}),` so the browser includes its origin as `,_jsx(_components.code,{children:`Referer`}),` when submitting the form.`]}),`\n`,_jsxs(_components.p,{children:[`Render the reCAPTCHA widget and submit a normal HTML form to `,_jsx(_components.code,{children:`/Agent/Account/CreateWebForm`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`html`,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:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`form`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` method`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"post\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://neuron.example/Agent/Account/CreateWebForm\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Username `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`input`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UserName\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` autocomplete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"username\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` required`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Email `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`input`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EMail\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` autocomplete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` required`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Phone `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`input`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PhoneNr\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tel\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` autocomplete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Password `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`input`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Password\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"password\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` autocomplete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"new-password\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` required`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`label`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`input`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RedirectionUrl\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hidden\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` value`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.example/signup/complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` \u003c!-- Render Google's widget here; it supplies g-recaptcha-response. -->`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Create account`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`button`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The endpoint consumes form data, not JSON. The redirect target must be an application URL you trust; do not copy a redirect URL from arbitrary query input.`}),`\n`,_jsx(Heading,{level:`2`,id:`recover-the-new-session`,children:`Recover the new session`}),`\n`,_jsx(_components.p,{children:`After the Neuron redirects the browser, preserve its session cookie and exchange the creation session for account state:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://neuron.example/Agent/Account/GetSessionToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` credentials:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"include\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` referrer:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`location`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`origin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` referrerPolicy:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"strict-origin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({})`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ok`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`throw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Session exchange failed: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The created account starts disabled. Ask the user for the code delivered to their email and call `,_jsx(_components.a,{href:`/neuron-api/api-reference/accounts-and-onboarding/verify-email`,children:`Verify email`}),`. If a phone number was supplied, complete `,_jsx(_components.a,{href:`/neuron-api/api-reference/accounts-and-onboarding/verify-phone-number`,children:`phone verification`}),` too.`]}),`\n`,_jsx(Warning,{children:`Keep the returned JWT in memory where possible. Never place it in a URL, page source, analytics event, or browser log.`})]})}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":"Browser-based signup","description":"Create and activate an Agent account from a browser without exposing an API secret","href":"/neuron-api/guides/browser-based-signup"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Submit the form","slug":"submit-the-form","depth":2,"children":[]},{"title":"Recover the new session","slug":"recover-the-new-session","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"trustanchorgroupab","siteName":"Neuro Developer Documentation","title":"Browser-based signup - Neuro Developer Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-06T21:11:28.746Z","originalFileLocation":"neuron-api/guides/browser-based-signup.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=\"Create and activate an Agent account from a browser without exposing an API secret\">\u003cmeta data-mint-head name=\"application-name\" content=\"Neuro Developer Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_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/trustanchorgroupab/FK14JK0FYDDxvV9D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Browser-based signup - Neuro Developer Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and activate an Agent account from a browser without exposing an API secret\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Neuro Developer Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trustanchorgroupab.mintlify.site/_mintlify/api/og/v2?division=Verified+identity\u0026amp;title=Browser-based+signup\u0026amp;description=Create+and+activate+an+Agent+account+from+a+browser+without+exposing+an+API+secret\u0026amp;theme=e965936c45646521338f1da9\u0026amp;signature=548d40a245450a8f4ee2dfbeb8c4881d5f0cf0518a5620b5b4dfd45b5a892e31\">\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=\"Browser-based signup - Neuro Developer Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and activate an Agent account from a browser without exposing an API secret\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trustanchorgroupab.mintlify.site/_mintlify/api/og/v2?division=Verified+identity\u0026amp;title=Browser-based+signup\u0026amp;description=Create+and+activate+an+Agent+account+from+a+browser+without+exposing+an+API+secret\u0026amp;theme=e965936c45646521338f1da9\u0026amp;signature=548d40a245450a8f4ee2dfbeb8c4881d5f0cf0518a5620b5b4dfd45b5a892e31\">\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/trustanchorgroupab/FK14JK0FYDDxvV9D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Neuro Developer Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8F40D4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/neuron-api/guides/browser-based-signup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.neuro-tech.io/#organization\",\"name\":\"Neuro Developer Documentation\",\"url\":\"https://docs.neuro-tech.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trustanchorgroupab/fwNmgGrEEuGVOqsz/logo/light.svg?fit=max\u0026auto=format\u0026n=fwNmgGrEEuGVOqsz\u0026q=85\u0026s=5bb10b797f1a595695d844b113b8d56a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.neuro-tech.io#website\",\"name\":\"Neuro Developer Documentation\",\"url\":\"https://docs.neuro-tech.io\",\"publisher\":{\"@id\":\"https://docs.neuro-tech.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup#webpage\",\"url\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup\",\"name\":\"Browser-based signup\",\"description\":\"Create and activate an Agent account from a browser without exposing an API secret\",\"dateModified\":\"2026-09-06T21:11:28.746Z\",\"isPartOf\":{\"@id\":\"https://docs.neuro-tech.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Verified identity\",\"item\":\"https://docs.neuro-tech.io/build/verified-identity/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Browser-based signup\",\"item\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup#article\",\"headline\":\"Browser-based signup\",\"name\":\"Browser-based signup\",\"description\":\"Create and activate an Agent account from a browser without exposing an API secret\",\"url\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.neuro-tech.io/neuron-api/guides/browser-based-signup#webpage\"},\"dateModified\":\"2026-09-06T21:11:28.746Z\",\"publisher\":{\"@id\":\"https://docs.neuro-tech.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.neuro-tech.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Neuro Developer Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Neuro Developer Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/neuron-api/guides/browser-based-signup.md","siteName":"Neuro Developer Documentation","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Agent API","pages":[{"title":"Agent API","href":"/neuron-api/introduction"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"Quick Login","pages":[{"title":"Quick Login","href":"/quick-login/overview"}]},{"tab":"Build","groups":[{"group":"Build an application","pages":[{"title":"Build with Neuro","sidebarTitle":"Choose a task","href":"/build/overview"}]},{"group":"Verified identity","pages":[{"title":"Verified identity","sidebarTitle":"Overview","href":"/build/verified-identity/overview"},{"title":"Legal Identity flow","href":"/neuron-api/guides/legal-identity-flow"},{"title":"User onboarding","description":"Create, verify, and activate a Neuron account","href":"/neuron-api/guides/user-onboarding"},{"title":"Browser-based signup","href":"/neuron-api/guides/browser-based-signup"},{"title":"Create an account from a trusted backend","description":"Create and verify an account from a backend that can protect the API secret","sidebarTitle":"Create an account","href":"/neuron-api/guides/creating-an-account"},{"title":"Create an Agent API cryptographic key","sidebarTitle":"Create a key","href":"/neuron-api/guides/creating-cryptographic-keys"},{"title":"Apply for a Legal Identity","sidebarTitle":"Apply for an identity","href":"/neuron-api/guides/applying-for-a-legal-identity"},{"title":"Observe Legal Identity review","sidebarTitle":"Observe identity review","href":"/neuron-api/guides/getting-your-identity-approved"}]},{"group":"Sign-in and signatures","pages":[{"title":"Sign in with Neuro","sidebarTitle":"Overview","href":"/build/sign-in-with-neuro/overview"},{"title":"Login flows","href":"/neuron-api/guides/login-flows"},{"title":"OAuth 2 authorization server","href":"/protocols/oauth"},{"title":"Digital signatures","sidebarTitle":"Overview","href":"/build/digital-signatures/overview"}]},{"group":"Contracts and agreements","pages":[{"title":"Agreements","sidebarTitle":"Overview","href":"/build/agreements/overview"},{"title":"Choose a contract task","href":"/contracts/quickstart"},{"title":"Author a contract from scratch","href":"/contracts/from-scratch"},{"title":"Create a contract with the Agent API","href":"/contracts/agent-api-quickstart"},{"title":"Follow the contract API lifecycle","href":"/neuron-api/guides/contracts-flow"},{"title":"Send a contract proposal","sidebarTitle":"Send proposal over XMPP","href":"/neuron-api/api-reference/contracts/send-proposal"},{"title":"Contract structure","href":"/contracts/overview"},{"title":"Templates and contract instances","href":"/contracts/templates-and-instances"},{"title":"Roles and signing parts","href":"/contracts/roles-and-parts"},{"title":"Contract parameters","href":"/contracts/parameters"},{"title":"Human-readable contract text","href":"/contracts/human-readable-text"},{"title":"Contract lifecycle","href":"/contracts/lifecycle"},{"title":"Sign and validate contracts","href":"/contracts/signing-and-validation"}]},{"group":"Tokens and digital assets","pages":[{"title":"Tokenized assets","sidebarTitle":"Overview","href":"/build/tokenized-assets/overview"},{"title":"Author a token with a state machine and Script","href":"/build/tokenized-assets/from-scratch"},{"title":"Inspect Neuro-Features and event history","href":"/neuron-api/guides/tokens-flow"},{"title":"Token state machines","href":"/contracts/state-machines"}]},{"group":"Wallets and payments","pages":[{"title":"Payments","sidebarTitle":"Overview","href":"/build/payments/overview"},{"title":"Integrate a provider purchase of eDaler","href":"/build/payments/buy-edaler"}]},{"group":"Other application tasks","pages":[{"title":"Send XMPP messages","href":"/neuron-api/guides/messaging"},{"title":"Realtime browser events","href":"/neuron-api/guides/webhooks"},{"title":"Agent Things API availability","href":"/iot/agent-things-api"},{"title":"Build an AI application with the Agent API","href":"/build/ai-agents/overview"}]},{"group":"Reports","pages":[{"title":"Reports API","href":"/reports/overview"},{"title":"Discover your first report","href":"/reports/quickstart"},{"title":"Refresh reports for a dashboard","href":"/reports/dashboard-integration"},{"title":"Run a report over HTTP","href":"/reports/execute-over-http"},{"title":"Reports JavaScript methods","href":"/reports/javascript"},{"title":"Report response formats","href":"/reports/responses"},{"title":"Troubleshoot report access and execution","href":"/reports/troubleshooting"}]}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/overview"}]}]},"basePath":"","title":"Browser-based signup - Neuro Developer Documentation","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":[],"chunks":[]}