{% extends "settings/layout.html" %} {% block settings_content %}

{% if local_runtime_mode %}Configuration{% else %}Installation{% endif %}

{% if local_runtime_mode %}

Update how this local Governor instance authenticates with Google Cloud. GitHub is optional advanced fallback and is not part of the standard local review/apply workflow.

{% else %}

Update how this Governor instance authenticates with Google Cloud and GitHub. Changes apply immediately after save.

{% endif %} {% if flash %}
{{ flash.message }}
{% endif %}
{% if local_runtime_mode %}

Local CLI reminder

Local mode reads source from configured workspace paths and applies approved fixes back to your working tree. GitHub and the Pull Requests page are optional fallback surfaces, not the standard local path.

{% else %}

Local dev reminder

After switching this instance to local development, each project still needs Manifest Source = Manual upload in its configuration. Upload manifest.json on the configuration detail page after saving the project.

{% endif %}
{% if local_runtime_mode and workspace_info %}

Local Workspace

Active workspace configured via governor init.

{% if workspace_info.project_path %}

Project Path

{{ workspace_info.project_path }}

{% endif %} {% if workspace_info.profiles_dir %}

Profiles Directory

{{ workspace_info.profiles_dir }}

{% endif %} {% if workspace_info.target_name %}

Target Name

{{ workspace_info.target_name }}

{% endif %} {% if workspace_info.dbt_version %}

dbt Version

{{ workspace_info.dbt_version }}

{% endif %}
{% endif %}

Installation Mode

Choose the operating mode for this Governor instance.

{% if errors.get('installation_mode') %}

{{ errors['installation_mode'] }}

{% endif %}

Google Cloud

Governor uses this for project discovery, logging, and BigQuery Information Schema access.

{% if errors.get('gcp_auth_method') %}

{{ errors['gcp_auth_method'] }}

{% endif %}

Example values: us, eu, us-central1.

{% if errors.get('bigquery_region') %}

{{ errors['bigquery_region'] }}

{% endif %}
{% if has_saved_gcp_credentials %} A service account JSON is already stored. Leave the fields below blank to keep it. {% else %} No service account JSON is stored yet. {% endif %}
{% if errors.get('gcp_credentials_json') %}

{{ errors['gcp_credentials_json'] }}

{% endif %}
{% if local_runtime_mode %}

Optional GitHub Fallback

Not required for local CLI mode. Configure this only if you want optional repository fallback or hybrid workflows.

Advanced
{% else %}

GitHub

Governor uses GitHub to fetch repository files and create pull requests.

{% endif %} {% if errors.get('github_auth_mode') %}

{{ errors['github_auth_mode'] }}

{% endif %} {% if errors.get('github') %}

{{ errors['github'] }}

{% endif %} {% if local_runtime_mode %}
Local workspace review and Apply to Working Tree do not require GitHub credentials. PR pages stay hidden in local mode even if you configure this.
{% endif %}
{% if has_saved_github_app_credentials %} GitHub App credentials are already stored. Leave fields blank to keep them. {% else %} No GitHub App credentials are stored yet. {% endif %}
{% if errors.get('app_id') %}

{{ errors['app_id'] }}

{% endif %}
{% if errors.get('installation_id') %}

{{ errors['installation_id'] }}

{% endif %}
{% if errors.get('private_key') %}

{{ errors['private_key'] }}

{% endif %}
{% if has_saved_github_personal_access_token %} A personal access token is already stored. Leave the field blank to keep it. {% else %} No personal access token is stored yet. {% endif %}

{% if local_runtime_mode %}Only needed for optional repository fallback. Local working-tree apply does not require this token.{% else %}Use a token that can read repositories and create branches and pull requests.{% endif %}

{% if errors.get('personal_access_token') %}

{{ errors['personal_access_token'] }}

{% endif %}
{% if local_runtime_mode %}
{% endif %}
{% endblock %}