{"componentChunkName":"component---src-templates-doc-tsx","path":"/product/integrations/vercel/","result":{"data":{"file":{"id":"eb6b1014-c25a-5b08-8704-4376408f2431","relativePath":"product/integrations/vercel/index.mdx","sourceInstanceName":"docs","childMarkdownRemark":null,"childMdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Vercel\",\n  \"sidebar_order\": 1,\n  \"redirect_from\": [\"/workflow/integrations/vercel/\", \"/workflow/integrations/global-integrations/vercel/\"]\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar Alert = makeShortcode(\"Alert\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"Vercel is an all-in-one platform with Global CDN supporting static and JAMstack deployment and Serverless Functions. Connect your Sentry and Vercel projects to automatically upload source maps and notify Sentry of release deployment.\"), mdx(\"p\", null, \"This integration needs to set up only once per organization, then it is available for \", mdx(\"em\", {\n    parentName: \"p\"\n  }, \"all\"), \" projects.\"), mdx(\"h2\", {\n    \"id\": \"install\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#install\",\n    \"aria-label\": \"install permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Install\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Visit \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://vercel.com/integrations/sentry/add\"\n  }), \"https://vercel.com/integrations/sentry/add\"))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Select your account and click \\\"Add\\\".\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1015px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/b30fb73008dabd8e1f5c70ad0e8bbd2f/e088a/vercel_install.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"58.00000000000001%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAAsSAAALEgHS3X78AAAA8UlEQVQoz5WQ3W7CMAyF8/x7holH2LNMA3pTqTcrXADKmjRt82cHJxGhQBnik1VZxz7yaVh4BJE+pmrEx8odeFEeYc/M0LTm8ytw8YYZ015d19/bzbqqfrYbIWXUF80AgepqBo+qH05HufuVu1bsW9NxHNTicTZMqEa8jqj1Pq4iZAMCRGXxsr2gtTYJa10slypSmnvYxWCd9y5RlIx5DsunJiX5vumE+OMc0huQPo4jmec5fTpwYya0JntHwSk8jfNSjJP6OfMsrHS0lgc6UXR9y31skihqnsEr5imYVNOps9oEznnf9+FfyEw/kt+CmjOH3L7NuRrpEwAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing Vercel installation\",\n    \"title\": \"Sentry modal showing Vercel installation\",\n    \"src\": \"/static/b30fb73008dabd8e1f5c70ad0e8bbd2f/e088a/vercel_install.png\",\n    \"srcSet\": [\"/static/b30fb73008dabd8e1f5c70ad0e8bbd2f/5a46d/vercel_install.png 300w\", \"/static/b30fb73008dabd8e1f5c70ad0e8bbd2f/0a47e/vercel_install.png 600w\", \"/static/b30fb73008dabd8e1f5c70ad0e8bbd2f/e088a/vercel_install.png 1015w\"],\n    \"sizes\": \"(max-width: 1015px) 100vw, 1015px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(Alert, {\n    title: \"Important\",\n    level: \"warning\",\n    mdxType: \"Alert\"\n  }, \"The installation created an internal integration to generate an auth token used in building releases. If the Vercel internal integration is deleted, your Vercel integration will stop working.\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1158px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/d1cc3b2c6ec7b95c971660e3f1c4c126/1132d/vercel_internal_integration.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"6%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAIAAABR8BlyAAAACXBIWXMAAAsSAAALEgHS3X78AAAAI0lEQVQI12NYvnzFo5dv333+9ebD768//v4nDrx98f/7l/8AwI054p+hVgkAAAAASUVORK5CYII=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing Vercel internal integration\",\n    \"title\": \"Sentry modal showing Vercel internal integration\",\n    \"src\": \"/static/d1cc3b2c6ec7b95c971660e3f1c4c126/1132d/vercel_internal_integration.png\",\n    \"srcSet\": [\"/static/d1cc3b2c6ec7b95c971660e3f1c4c126/5a46d/vercel_internal_integration.png 300w\", \"/static/d1cc3b2c6ec7b95c971660e3f1c4c126/0a47e/vercel_internal_integration.png 600w\", \"/static/d1cc3b2c6ec7b95c971660e3f1c4c126/1132d/vercel_internal_integration.png 1158w\"],\n    \"sizes\": \"(max-width: 1158px) 100vw, 1158px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")))), mdx(\"h2\", {\n    \"id\": \"configure\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#configure\",\n    \"aria-label\": \"configure permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Configure\"), mdx(\"p\", null, \"Use Vercel to \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#project-linking\"\n  }), \"link projects\"), \" for uploading source maps and notifiying Sentry of release deployment.\"), mdx(\"h3\", {\n    \"id\": \"project-linking\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#project-linking\",\n    \"aria-label\": \"project linking permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Project Linking\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Select a Sentry project and a Vercel project to link together.\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"1160px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/ad3d69e7d2b7344fa5bb5656d904f349/6be49/vercel_link_project.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"9%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAACCAIAAADXZGvcAAAACXBIWXMAAAsSAAALEgHS3X78AAAAW0lEQVQI12WNwQqAMAxD/f+f8SSe/BhBRHE617qlWwUtehEMj5CQQ6p18avzTEfJiiQpQpCzFMMCBzDhrV8QxdYq7Kx6lqLmm/PTOAPyVCVCU/ddO1w/2RkFvgFmMnLL4AFspQAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing linking Sentry project to Vercel project\",\n    \"title\": \"Sentry modal showing linking Sentry project to Vercel project\",\n    \"src\": \"/static/ad3d69e7d2b7344fa5bb5656d904f349/6be49/vercel_link_project.png\",\n    \"srcSet\": [\"/static/ad3d69e7d2b7344fa5bb5656d904f349/5a46d/vercel_link_project.png 300w\", \"/static/ad3d69e7d2b7344fa5bb5656d904f349/0a47e/vercel_link_project.png 600w\", \"/static/ad3d69e7d2b7344fa5bb5656d904f349/6be49/vercel_link_project.png 1160w\"],\n    \"sizes\": \"(max-width: 1160px) 100vw, 1160px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"This step will generate environment variables in the selected Vercel project. Having these set means you can skip the \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"https://github.com/getsentry/sentry-webpack-plugin#cli-configuration\"\n  }), \"CLI Configuration step\"), \" in the Sentry Webpack Plugin setup. You can see these in Vercel in \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Project Settings\"), \" > \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"General\"), \" > \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Environment Variables\"), \".\")), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"746px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/0c2ee8e00946bf1088b4365e89d01431/62de4/vercel_env_vars.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"95%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAIAAAAf7rriAAAACXBIWXMAAAsSAAALEgHS3X78AAABuUlEQVQ4y6VTQY7CMAzsU3ggT+MHPIMDF1RoWbEntqVxmsRpkp3EBQQsEtKOQhVSj2fsuJW1tu/7YRgulws25/PZe58+Q6WU2u/3dV03TdO27Xa7xUmMESmmafJvEELIZGaGJpRVATZd1/0UwAh8jVdorY0xciLuKuRwzsmpbLhA/gLQf2sbOSBFRLoAWakAZEnx2oJ4RQWp4/EIPoIQCh3wsfmoYVysloQPL1COWJBGzDEFIoOACuqo1znrrCkJbitJb+BFTIYCnC+Xy8VisVqtKvE5GqdM1C6Si6OL2IMi1b263Ww26/X6+3QCOZQiWdsga7RhGCfccroKTiJ67dO9Zijjln0OzguRaAJphcLYe1emoO+73Px8wKMxighPBOSa58YQYVBIE3TkzvCbrAmHHblEJmChIpk88ZHJ6CfIiMZGRk+GCSGROTS1sgldGAzakZi9tDDbFuXbeNzImC25lqmtoQyyekeW+SrTnflIdCc3tc62I5bhxP4vMngyxngikQxZtn3YwTbNypGfahbPkJJ8eCGfR1Hm6bDTnMotZmWp61GZaI4u5HvNuL+vluxs+7nm9A/8AoBfUSl/xFD4AAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing linking Sentry project to Vercel project\",\n    \"title\": \"Sentry modal showing linking Sentry project to Vercel project\",\n    \"src\": \"/static/0c2ee8e00946bf1088b4365e89d01431/62de4/vercel_env_vars.png\",\n    \"srcSet\": [\"/static/0c2ee8e00946bf1088b4365e89d01431/5a46d/vercel_env_vars.png 300w\", \"/static/0c2ee8e00946bf1088b4365e89d01431/0a47e/vercel_env_vars.png 600w\", \"/static/0c2ee8e00946bf1088b4365e89d01431/62de4/vercel_env_vars.png 746w\"],\n    \"sizes\": \"(max-width: 746px) 100vw, 746px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")), mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"SENTRY_ORG\"), \" - the name of your Sentry organization\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"SENTRY_PROJECT\"), \" - the name of your linked Sentry project\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"SENTRY_AUTH_TOKEN\"), \" - the auth token from the Vercel Internal Integration that was created upon installation\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"NEXT_PUBLIC_SENTRY_DSN\"), \" - the linked Sentry project's DSN\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"VERCEL_GITHUB_COMMIT_SHA\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"VERCEL_GITLAB_COMMIT_SHA\"), \", or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"VERCEL_BITBUCKET_COMMIT_SHA\"), \" - your source code provider's commit SHA, used for creating releases and associating commits\"))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Redeploy your Vercel project in order to trigger a release.\"))), mdx(\"h2\", {\n    \"id\": \"usage\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#usage\",\n    \"aria-label\": \"usage permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Usage\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"If you have not already done so, \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"/platforms/javascript/\"\n  }), \"instrument your code with Sentry\"), \".\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Ensure you have \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"/product/releases/#install-repo-integration\"\n  }), \"installed a repository integration\"), \" and added the relevant repository.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Add the \", mdx(\"a\", _extends({\n    parentName: \"li\"\n  }, {\n    \"href\": \"https://github.com/getsentry/sentry-webpack-plugin\"\n  }), \"Sentry Webpack Plugin\"), \" to your configuration. For NextJS, use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"next.config.js\"), \".\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"If you already have a Vercel project integrated with Sentry, ensure the Sentry project you link is the one you're already using to report errors.\")), mdx(\"h2\", {\n    \"id\": \"uninstallation\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#uninstallation\",\n    \"aria-label\": \"uninstallation permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Uninstallation\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"The integration must be uninstalled from Vercel. Visit the Vercel integration configuration page (\", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Organization Settings\"), \" > \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Integrations\"), \" > \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Vercel\"), \" > \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Configurations\"), \") and click \\\"Uninstall\\\" then \\\"Visit Vercel\\\" in the modal that pops up.\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"600px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/c3d83e0985673587f20b6e509345160d/0a47e/vercel_uninstall.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"41.333333333333336%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAIAAAB2/0i6AAAACXBIWXMAAAsSAAALEgHS3X78AAAA50lEQVQY041QOW7DMBDUp1258QuSKnbvRyTPCSzr4qmDXJtcUlSWkpsAAaLBcDDEnmSRUlr2gNJ+k1DkABNwr0XZ8O+SqKtW3ipV1vJWk4rVpwleNKuOdnkVW5gNBHh6Y9FAhMdGtBDsI1ggs2DI9CuzwVxM05XSUshe94ILMkpqzjn5aZyGvldSDcNIqpXWayaFhn7Ia8/zzJlo6rZtMhnjTdPey6rrGGJARO/9pqsJdPI9BNq4SH+BOu74we3N/4EmdW03PV24Xv3hgKeTOx4TwK7iGKOdjIsxfH3i+xueP/zlnJz7AbhgyiI/Pbj5AAAAAElFTkSuQmCC')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing uninstalling Vercel integration\",\n    \"title\": \"Sentry modal showing uninstalling Vercel integration\",\n    \"src\": \"/static/c3d83e0985673587f20b6e509345160d/0a47e/vercel_uninstall.png\",\n    \"srcSet\": [\"/static/c3d83e0985673587f20b6e509345160d/5a46d/vercel_uninstall.png 300w\", \"/static/c3d83e0985673587f20b6e509345160d/0a47e/vercel_uninstall.png 600w\"],\n    \"sizes\": \"(max-width: 600px) 100vw, 600px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \"))), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Click \\\"Remove Configuration\\\".\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Delete the internal integration that was created by navigating to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Organization Settings\"), \" > \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Developer Settings\"), \" and clicking the trash can icon next to \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Vercel Internal Integration\"), \". You will be prompted to confirm the deletion by entering a string provided in the modal. Enter the string and click \\\"Confirm\\\" to finalize the deletion.\"), mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"span\", _extends({\n    parentName: \"p\"\n  }, {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"600px\"\n    }\n  }), \"\\n      \", mdx(\"a\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"gatsby-resp-image-link\",\n    \"href\": \"/static/9580844a83a3cdfb35ad6e3c98655364/0a47e/vercel_delete_internal_integration.png\",\n    \"style\": {\n      \"display\": \"block\"\n    },\n    \"target\": \"_blank\",\n    \"rel\": \"noopener\"\n  }), \"\\n    \", mdx(\"span\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"53%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAIAAADwazoUAAAACXBIWXMAAAsSAAALEgHS3X78AAABQklEQVQoz51SWW7CMBTMKdsfDsPJEFwB0YoACS2QxE5iZ3O8JPZLn4nany5CfRqNZ95iW5aD6X8BYK0NFKv5LWtJ3tGiIXmd0pYUVUq8yHJ2TZssxwwyT0hLS9R9wUAq3CHoSHHZn86vh2i3T45nRBq9xbswfglvxzPmr4fodozfw9MljFBjhsYX6O/DoA3CKW2lAqW9RVbaSWQzYzJ38dmJPI2jHzZm6PteSqW1kUoh0CCk1p0QXdd3oue88i1SCeGXDgtCOOcCbM8SQlJS0JKSvCwYMskoyXIUOMZ5jcm6blAzhr5CW5bMP5i1rqrqtmkrVjV1MxfuolRK/f7Y4K+Np8OPMYH7HgBummZgSwB/xtc5swGlXJZ6cI42eOxHAEnSvBXDZmOen8xiYZbL6fHhQQ+jA0vpuF6Pq5XdbofRfgD0EXWatWg+oAAAAABJRU5ErkJggg==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  })), \"\\n  \", mdx(\"img\", _extends({\n    parentName: \"a\"\n  }, {\n    \"className\": \"gatsby-resp-image-image\",\n    \"alt\": \"Sentry modal showing uninstalling Vercel integration\",\n    \"title\": \"Sentry modal showing uninstalling Vercel integration\",\n    \"src\": \"/static/9580844a83a3cdfb35ad6e3c98655364/0a47e/vercel_delete_internal_integration.png\",\n    \"srcSet\": [\"/static/9580844a83a3cdfb35ad6e3c98655364/5a46d/vercel_delete_internal_integration.png 300w\", \"/static/9580844a83a3cdfb35ad6e3c98655364/0a47e/vercel_delete_internal_integration.png 600w\"],\n    \"sizes\": \"(max-width: 600px) 100vw, 600px\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    },\n    \"loading\": \"lazy\"\n  })), \"\\n  \"), \"\\n    \")))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#install","title":"Install"},{"url":"#configure","title":"Configure","items":[{"url":"#project-linking","title":"Project Linking"}]},{"url":"#usage","title":"Usage"},{"url":"#uninstallation","title":"Uninstallation"}]},"internal":{"type":"Mdx"}}}},"pageContext":{"excerpt":"Vercel is an all-in-one platform with Global CDN supporting static and JAMstack deployment and Serverless Functions. Connect your Sentry and Vercel projects to automatically upload source maps and notify Sentry of release deployment. This integration needs to set up only once per organization, then it is available for  all  projects. Install Visit  https://vercel.com/integrations/sentry/add Select your account and click \"Add\". Configure Use Vercel to  link projects  for uploading source maps and notifiying Sentry of release deployment. Project Linking Select a Sentry project and a Vercel project to link together. This step will generate environment variables in the selected Vercel project. Having these set means you can skip the  CLI Configuration step  in the Sentry Webpack Plugin setup. You can see these in Vercel in  Project Settings  >  General  >  Environment Variables . SENTRY_ORG  - the name of your Sentry organization SENTRY_PROJECT  - the name of your linked Sentry project SENTRY_AUTH_TOKEN  - the auth token from the Vercel Internal Integration that was created upon installation NEXT_PUBLIC_SENTRY_DSN  - the linked Sentry project's DSN VERCEL_GITHUB_COMMIT_SHA ,  VERCEL_GITLAB_COMMIT_SHA , or  VERCEL_BITBUCKET_COMMIT_SHA  - your source code provider's commit SHA, used for creating releases and associating commits Redeploy your Vercel project in order to trigger a release. Usage If you have not already done so,  instrument your code with Sentry . Ensure you have  installed a repository integration  and added the relevant repository. Add the  Sentry Webpack Plugin  to your configuration. For NextJS, use  next.config.js . If you already have a Vercel project integrated with Sentry, ensure the Sentry project you link is the one you're already using to report errors. Uninstallation The integration must be uninstalled from Vercel. Visit the Vercel integration configuration page ( Organization Settings  >  Integrations  >  Vercel  >  Configurations ) and click \"Uninstall\" then \"Visit Vercel\" in the modal that pops up. Click \"Remove Configuration\". Delete the internal integration that was created by navigating to  Organization Settings  >  Developer Settings  and clicking the trash can icon next to  Vercel Internal Integration . You will be prompted to confirm the deletion by entering a string provided in the modal. Enter the string and click \"Confirm\" to finalize the deletion.","title":"Vercel","description":null,"draft":null,"noindex":null,"notoc":null,"sidebar_order":1,"redirect_from":["/workflow/integrations/vercel/","/workflow/integrations/global-integrations/vercel/"],"keywords":null,"id":"eb6b1014-c25a-5b08-8704-4376408f2431","legacy":false}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","2764967025","3345802723","3818502851","3990806462","4015007367","4192517163","4264099332","518019976"]}