{% extends "sentry/bases/modal.html" %} {% load crispy_forms_tags %} {% load sentry_assets %} {% load i18n %} {% block css %} {% endblock %} {% block wrapperclass %} narrow auth {% endblock %} {% block modal_header_signout %} {% endblock %} {% block title %} {% trans "GitLab Setup" %} | {{ block.super }} {% endblock %} {% block main %} {% if form %}

{% trans "Step 2: Connect Sentry with your App" %}

{% trans "Add your GitLab App credentials to Sentry." %}

{% csrf_token %} {{ form|as_crispy_errors }} {% for field in form %} {{ field|as_crispy_field }} {% endfor %}
{% trans "Back to instructions" %}
{% else %}

{% trans "Step 1: Create a Sentry App in GitLab" %}

{% trans "To configure GitLab with Sentry, you will need to create a Sentry app in your GitLab instance." %}

{% trans "You'll also need to be a maintainer or owner in GitLab. Projects owned by users are not supported." %}

  1. {% trans "Navigate to the User Settings section of your GitLab instance." %}
  2. {% trans "In the sidebar, select 'Applications'.
    Or go to the /-/profile/applications path in your GitLab instance." %}
  3. {% trans "In the resulting form, enter the following information:" %}
  4. {% trans "Ensure 'Confidential' is checked." %}
  5. {% trans "Click Save Application." %}
  6. {% trans "In the resulting page, you'll see the Application ID and Secret. You'll need those for the next phase of setup." %}

{% trans "You must complete the above steps in GitLab to connect GitLab with Sentry." %}

{% trans "Next" %}
{% endif %} {% endblock %}