{% extends "madga/studio/base.html" %} {% load i18n madga_studio_tags %} {% block breadcrumbs %} {% trans "Channels" %} / {% blocktrans with label=publisher.label %}Setup {{ label }}{% endblocktrans %} {% endblock %} {% block content %}

{% blocktrans with label=publisher.label %}Setup {{ label }}{% endblocktrans %}

{% trans "One-time setup. Register an app on the platform's developer console, paste the credentials, done. Every user on this MADGA site shares this app — that's how SaaS OAuth works." %}

{% if publisher.setup_console_url %} {% endif %}
{% if configured %}
{% trans "Already configured" %} ✓

{% blocktrans with label=publisher.label %}MADGA_OAUTH['{{ label|lower }}'] is set in your project settings. Users can now click Connect.{% endblocktrans %}

{% trans "Back to Channels" %}
{% endif %}
{% trans "Callback URL to register on the platform" %}
{{ callback_url }}
    {% for step in steps %}
  1. {{ forloop.counter }}

    {{ step.title }}

    {% madga_setup_body step.body %} {% if step.url %}

    {{ step.url }} {% studio_icon "external" size=10 stroke=2 %}

    {% endif %}
  2. {% endfor %}
{% trans "Back to Channels" %} {% if configured %} {% studio_icon "send" size=12 stroke=2 %} {% blocktrans with label=publisher.label %}Connect {{ label }} now{% endblocktrans %} {% endif %}
{% endblock %}