Deploy Inbox Zero on Vercel using Neon and Upstash integrations
This guide covers a managed setup on Vercel using the Neon and Upstash integrations.
To use other databases, see Environment Variables for more details.
The deploy button only pre-fills the secrets listed below. Your first Vercel build
will usually fail until a Postgres database is attached and DATABASE_URL exists.
That is expected. Create a free Neon database from Vercel Storage, then redeploy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Inbox Zero Documentation","colors":{"primary":"#2563eb","light":"#60a5fa","dark":"#2563eb"},"logo":{"light":"https://mintcdn.com/inboxzero/DdfmrevgGKRNBfeU/logo/light.svg?fit=max\u0026auto=format\u0026n=DdfmrevgGKRNBfeU\u0026q=85\u0026s=81151059779000ba0fadf8efae6d3ae3","dark":"https://mintcdn.com/inboxzero/DdfmrevgGKRNBfeU/logo/dark.svg?fit=max\u0026auto=format\u0026n=DdfmrevgGKRNBfeU\u0026q=85\u0026s=6fe089ef0fc981122cb19493db6de4b9"},"favicon":"https://mintcdn.com/inboxzero/wagtDAhDWuhi4Pvs/favicon.png?fit=max\u0026auto=format\u0026n=wagtDAhDWuhi4Pvs\u0026q=85\u0026s=eaad4618bb3e0339dbd09779b3e1687c","api":{"openapi":"openapi.json"},"navbar":{"links":[{"href":"mailto:support@getinboxzero.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.getinboxzero.com/welcome"}},"footer":{"socials":{"twitter":"https://www.getinboxzero.com/twitter","github":"https://www.getinboxzero.com/github","linkedin":"https://www.getinboxzero.com/linkedin"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"Community","icon":"discord","href":"https://getinboxzero.com/discord"},{"anchor":"Blog","icon":"newspaper","href":"https://www.getinboxzero.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inboxzero","hasAudioNarration":false,"actualSubdomain":"inboxzero","customDomains":["docs.getinboxzero.com"],"gitSource":{"type":"github","owner":"elie222","repo":"inbox-zero","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aedd6dd330f81d8e90bdf62","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Developers","count":36},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"API","count":11},{"language":"default","tag":"Self-Hosting","count":8},{"language":"default","tag":"Assistant \u0026 Automation","count":6},{"language":"default","tag":"Setup Guides","count":6},{"language":"default","tag":"Channels \u0026 Integrations","count":4},{"language":"default","tag":"Early Access","count":4},{"language":"default","tag":"Safety \u0026 Help","count":4},{"language":"default","tag":"AWS Deployment","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"hosting/vercel","slug":"/hosting/vercel","pageMetadata":{"title":"Vercel Deployment","description":"Deploy Inbox Zero on Vercel using Neon and Upstash integrations","href":"/hosting/vercel"},"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: \"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\"\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`,img:`img`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This guide covers a managed setup on Vercel using the Neon and Upstash integrations.\nTo use other databases, see `,_jsx(_components.a,{href:`/hosting/environment-variables`,children:`Environment Variables`}),` for more details.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-fast-path-with-the-cli`,children:`1. Fast path with the CLI`}),`\n`,_jsx(_components.p,{children:`If you have the Inbox Zero CLI installed, the fastest path is:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`inbox-zero`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` setup-vercel`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The command will:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`link `,_jsx(_components.code,{children:`apps/web`}),` to a Vercel project`]}),`\n`,_jsx(_components.li,{children:`provision Neon and Upstash Redis through Vercel Marketplace integrations`}),`\n`,_jsx(_components.li,{children:`generate the required app secrets`}),`\n`,_jsx(_components.li,{children:`seed the Vercel environment variables`}),`\n`,_jsxs(_components.li,{children:[`optionally trigger `,_jsx(_components.code,{children:`vercel deploy --prod`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If you already provisioned one of the integrations, rerun with `,_jsx(_components.code,{children:`--skip-neon`}),` or `,_jsx(_components.code,{children:`--skip-upstash`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-deploy-on-vercel-manually`,children:`2. Deploy on Vercel manually`}),`\n`,_jsx(_components.p,{children:`Click here to deploy on Vercel:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Felie222%2Finbox-zero\u0026root-directory=apps%2Fweb\u0026env=AUTH_SECRET%2CINTERNAL_API_KEY%2CEMAIL_ENCRYPT_SECRET%2CEMAIL_ENCRYPT_SALT%2CMICROSOFT_WEBHOOK_CLIENT_STATE%2CDEFAULT_LLMS%2CLLM_API_KEY`,children:_jsx(_components.img,{src:`https://vercel.com/button`,alt:`Deploy on Vercel`})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The deploy button only pre-fills the secrets listed below. Your first Vercel build\nwill usually fail until a Postgres database is attached and `,_jsx(_components.code,{children:`DATABASE_URL`}),` exists.\nThat is expected. Create a free Neon database from Vercel Storage, then redeploy.`]})}),`\n`,_jsx(_components.p,{children:`Set the following environment variables:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AUTH_SECRET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # https://generate-secret.vercel.app/32`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`INTERNAL_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # https://generate-secret.vercel.app/32`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`EMAIL_ENCRYPT_SECRET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # https://generate-secret.vercel.app/32`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`EMAIL_ENCRYPT_SALT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # https://generate-secret.vercel.app/16`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MICROSOFT_WEBHOOK_CLIENT_STATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # https://generate-secret.vercel.app/32`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# LLM:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DEFAULT_LLMS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # provider:model, e.g. openai:gpt-6-luna`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LLM_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For secret generation you can also use `,_jsx(_components.code,{children:`openssl rand -base64 32`}),` on macOS or Linux.`]}),`\n`,_jsxs(_components.p,{children:[`To find your LLM API key, see `,_jsx(_components.a,{href:`/hosting/llm-setup`,children:`LLM Setup`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For the full list of environment variables, see `,_jsx(_components.a,{href:`/hosting/environment-variables`,children:`Environment Variables`}),`. We will set more environment variables later in the guide.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`3-neon-postgresql-database-in-vercel`,children:`3. Neon PostgreSQL Database in Vercel`}),`\n`,_jsx(_components.p,{children:`Neon is a PostgreSQL database provider that offers a free tier which is enough for personal use cases.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In your Vercel project, open `,_jsx(_components.code,{children:`Storage`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.code,{children:`Create Database`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.code,{children:`Neon`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Vercel injects Neon connection variables automatically.`}),`\n`,_jsxs(_components.p,{children:[`After Neon is connected, Vercel adds `,_jsx(_components.code,{children:`DATABASE_URL`}),`. Redeploy after that first-time setup.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=c8067195f685f38bd22d9f0f29d58244`,alt:`Neon option in Vercel Storage.`,\"data-og-width\":`1240`,width:`1240`,\"data-og-height\":`1750`,height:`1750`,\"data-path\":`images/self-hosting/vercel/neon.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=280\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=05a76b67282d56e70cdff22d5676c349 280w, https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=560\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=8a9d456d489f66563147cb5644a0e74f 560w, https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=840\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=0bb34c6be8927f5fc8c9217ba0320410 840w, https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=1100\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=479fdc445f1ac2118c4919029e32fe36 1100w, https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=1650\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=2a42b3e73e455824b67cdf99f3452272 1650w, https://mintcdn.com/inboxzero/BE8OOuWXqPFJ-QoS/images/self-hosting/vercel/neon.png?w=2500\u0026fit=max\u0026auto=format\u0026n=BE8OOuWXqPFJ-QoS\u0026q=85\u0026s=2b77356a3c1c640315450a747395fc76 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`4-upstash-redis-database-in-vercel`,children:`4. Upstash Redis Database in Vercel`}),`\n`,_jsx(_components.p,{children:`Upstash is a Redis database provider that offers a free tier which is enough for personal use cases.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`In your Vercel project, open `,_jsx(_components.code,{children:`Storage`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.code,{children:`Create Database`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.code,{children:`Upstash`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Vercel injects Upstash connection variables automatically.`}),`\n`,_jsx(Heading,{level:`2`,id:`5-set-other-environment-variables`,children:`5. Set other environment variables`}),`\n`,_jsxs(_components.p,{children:[`Once Vercel assigns your project domain (for example `,_jsx(_components.code,{children:`https://your-project.vercel.app`}),`), set:`]}),`\n`,_jsxs(_components.p,{children:[`Go to Project `,_jsx(_components.code,{children:`Settings`}),` -> `,_jsx(_components.code,{children:`Environment Variables`}),` and add:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`NEXT_PUBLIC_BASE_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`https://your-project.vercel.app`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Set Google or Microsoft environment variables based on the guides:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/hosting/google-oauth`,children:`Google OAuth`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/hosting/microsoft-oauth`,children:`Microsoft OAuth`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/hosting/google-pubsub`,children:`Google PubSub`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`6-redeploy-and-verify`,children:`6. Redeploy and verify`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Trigger a new Vercel deploy.`}),`\n`,_jsx(_components.li,{children:`Confirm build completes.`}),`\n`,_jsx(_components.li,{children:`Visit your project domain and verify it works.`}),`\n`,_jsx(_components.li,{children:`Sign in and connect an email account.`}),`\n`]})]})}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":"Vercel Deployment","description":"Deploy Inbox Zero on Vercel using Neon and Upstash integrations","href":"/hosting/vercel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Fast path with the CLI","slug":"1-fast-path-with-the-cli","depth":2,"children":[]},{"title":"2. Deploy on Vercel manually","slug":"2-deploy-on-vercel-manually","depth":2,"children":[]},{"title":"3. Neon PostgreSQL Database in Vercel","slug":"3-neon-postgresql-database-in-vercel","depth":2,"children":[]},{"title":"4. Upstash Redis Database in Vercel","slug":"4-upstash-redis-database-in-vercel","depth":2,"children":[]},{"title":"5. Set other environment variables","slug":"5-set-other-environment-variables","depth":2,"children":[]},{"title":"6. Redeploy and verify","slug":"6-redeploy-and-verify","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"inboxzero","siteName":"Inbox Zero Documentation","title":"Vercel Deployment - Inbox Zero Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T01:48:07.295Z","originalFileLocation":"hosting/vercel.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=\"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\">\u003cmeta data-mint-head name=\"application-name\" content=\"Inbox Zero 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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_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/inboxzero/IQcRpnjUMR6zhHwi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Vercel Deployment - Inbox Zero Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inbox Zero Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getinboxzero.com/hosting/vercel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inboxzero.mintlify.site/_mintlify/api/og/v2?division=Self-Hosting\u0026amp;title=Vercel+Deployment\u0026amp;description=Deploy+Inbox+Zero+on+Vercel+using+Neon+and+Upstash+integrations\u0026amp;theme=4663a26da0160d9209c6eb4e\u0026amp;signature=f8648e0f3caa2fd9e5cf777259309236977eb8574f3e95e3fad1f1a3db9ec972\">\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=\"Vercel Deployment - Inbox Zero Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inboxzero.mintlify.site/_mintlify/api/og/v2?division=Self-Hosting\u0026amp;title=Vercel+Deployment\u0026amp;description=Deploy+Inbox+Zero+on+Vercel+using+Neon+and+Upstash+integrations\u0026amp;theme=4663a26da0160d9209c6eb4e\u0026amp;signature=f8648e0f3caa2fd9e5cf777259309236977eb8574f3e95e3fad1f1a3db9ec972\">\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/inboxzero/IQcRpnjUMR6zhHwi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inbox Zero Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getinboxzero.com/hosting/vercel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/hosting/vercel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getinboxzero.com/#organization\",\"name\":\"Inbox Zero Documentation\",\"url\":\"https://docs.getinboxzero.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inboxzero/DdfmrevgGKRNBfeU/logo/light.svg?fit=max\u0026auto=format\u0026n=DdfmrevgGKRNBfeU\u0026q=85\u0026s=81151059779000ba0fadf8efae6d3ae3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getinboxzero.com#website\",\"name\":\"Inbox Zero Documentation\",\"url\":\"https://docs.getinboxzero.com\",\"publisher\":{\"@id\":\"https://docs.getinboxzero.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getinboxzero.com/hosting/vercel#webpage\",\"url\":\"https://docs.getinboxzero.com/hosting/vercel\",\"name\":\"Vercel Deployment\",\"description\":\"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\",\"dateModified\":\"2026-09-23T01:48:07.295Z\",\"isPartOf\":{\"@id\":\"https://docs.getinboxzero.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getinboxzero.com/hosting/vercel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getinboxzero.com/hosting/vercel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Self-Hosting\",\"item\":\"https://docs.getinboxzero.com/hosting/self-hosting\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vercel Deployment\",\"item\":\"https://docs.getinboxzero.com/hosting/vercel\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.getinboxzero.com/hosting/vercel#article\",\"headline\":\"Vercel Deployment\",\"name\":\"Vercel Deployment\",\"description\":\"Deploy Inbox Zero on Vercel using Neon and Upstash integrations\",\"url\":\"https://docs.getinboxzero.com/hosting/vercel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getinboxzero.com/hosting/vercel#webpage\"},\"dateModified\":\"2026-09-23T01:48:07.295Z\",\"publisher\":{\"@id\":\"https://docs.getinboxzero.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getinboxzero.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Inbox Zero Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Inbox Zero Documentation","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock-rotate-left","href":"/changelog"},{"anchor":"Community","icon":"discord","href":"https://getinboxzero.com/discord"},{"anchor":"Blog","icon":"newspaper","href":"https://www.getinboxzero.com/blog"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"anchor":"Developers","icon":"code","groups":[{"group":"Quick Start","pages":[{"title":"Quick Start","href":"/hosting/quick-start"},{"title":"Self-Hosting Setup CLI","icon":"terminal","href":"/hosting/setup-cli-reference"}]},{"group":"Setup Guides","pages":[{"title":"Overview","href":"/hosting/setup-guides"},{"title":"Google OAuth","href":"/hosting/google-oauth"},{"title":"Google PubSub","href":"/hosting/google-pubsub"},{"title":"Microsoft OAuth","href":"/hosting/microsoft-oauth"},{"title":"Enterprise SSO and SCIM","href":"/hosting/sso"},{"title":"LLM","href":"/hosting/llm-setup"}]},{"group":"Self-Hosting","pages":[{"title":"Docker/VPS Deployment Guide","href":"/hosting/self-hosting"},{"title":"Environment Variables","href":"/hosting/environment-variables"},{"title":"Production Operations","icon":"server","href":"/hosting/production-operations"},{"title":"Security Hardening","description":"Recommended steps for locking down a self-hosted Inbox Zero deployment.","icon":"lock","href":"/hosting/security-hardening"},{"title":"Vercel Deployment","href":"/hosting/vercel"},{"title":"Kubernetes Deployment","description":"Run Inbox Zero on Kubernetes with the Helm chart","href":"/hosting/kubernetes"},{"title":"Troubleshooting","href":"/hosting/troubleshooting"},{"title":"Image Proxy","href":"/hosting/image-proxy"}]},{"group":"AWS Deployment","pages":[{"title":"AWS Deployment","href":"/hosting/aws"},{"title":"EC2 Deployment","href":"/hosting/ec2-deployment"},{"title":"Terraform Deployment","href":"/hosting/terraform"},{"title":"Copilot Deployment","href":"/hosting/aws-copilot"}]},{"group":"GCP Deployment","pages":[{"title":"GCP + Cloudflare Tunnel","href":"/hosting/gcp-cloudflare-tunnel"}]},{"group":"Contributing","pages":[{"title":"Contributing","href":"/contributing"}]},{"group":"Integrations","pages":[{"title":"Slack Integration Setup","href":"/slack/setup"},{"title":"Microsoft Teams Integration Setup","href":"/teams/setup"},{"title":"Telegram Integration Setup","href":"/telegram/setup"}]},{"group":"API","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"CLI","href":"/api-reference/cli"},{"title":"MCP server","href":"/api-reference/mcp"},{"title":"Get stats by period","openapi":"GET /stats/by-period","href":"/api-reference/endpoint/get-statsby-period"},{"title":"Get stats response time","openapi":"GET /stats/response-time","href":"/api-reference/endpoint/get-statsresponse-time"},{"title":"List rules","openapi":"GET /rules","href":"/api-reference/endpoint/get-rules"},{"title":"Create rule","openapi":"POST /rules","href":"/api-reference/endpoint/post-rules"},{"title":"Get rule","openapi":"GET /rules/{id}","href":"/api-reference/endpoint/get-rules-id"},{"title":"Update rule","openapi":"PUT /rules/{id}","href":"/api-reference/endpoint/put-rules-id"},{"title":"Delete rule","openapi":"DELETE /rules/{id}","href":"/api-reference/endpoint/delete-rules-id"},{"title":"Unsubscribe sender","openapi":"POST /senders/unsubscribe","href":"/api-reference/endpoint/post-senders-unsubscribe"}]}]}]},"basePath":"","title":"Vercel Deployment - Inbox Zero Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DkE6VzSN.js","lightbox-handle-r17bVUz3.js"]}