Configure Azure Repos and the Git Integration

Configuration for the SnapLogic Git Integration to use Azure Repos.

To use Azure Repos, register SnapLogic with Azure Repos and configure the Git Integration feature in your SnapLogic environment. Each Azure Repos registration applies to one control plane (elastic.snaplogic.com, uat.elastic.snaplogic.com, or emea.snaplogic.com) and covers all environments on that control plane.

  • In Azure Repos, you need:
    • One or more Azure Repos repositories for SnapLogic assets
    • Azure organization administrator permissions to configure the organization settings and to register an app
  • In the SnapLogic environment:
    • A subscription to the SnapLogic Microsoft Azure DevOps Repository feature for each environment (Org in Classic Manager)
    • Environment admin permissions

Steps

  1. In Azure Repos, follow the instructions to register SnapLogic as a trusted application.

    Use the following values for application registration:

    Field Value
    Application website https://control-plane-name

    Example:

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorization callback URL https://control-plane-name/api/1/rest/asset/app/oauthcallback

    Example: https://cdn.control-plane-name.snaplogic.com/api/1/rest/asset/app/oauthcallback

    Where control-plane-nameis the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized scopes The following selections are required:
    • User profile (write)
    • Code (full)
  2. Click Create application. The Application Settings page opens. You will need information from this Application Settings page to configure the Git Integration in Admin Manager.
  3. From the Azure DevOps console, navigate to Organization Settings for the appropriate project. In the PoliciesApplication connection policies section, toggle On the Third-party application access via OAuth setting.
    Azure Repo Setting - Third-party Access to OAuth

    Important: Enable third-party access only for the project that will track SnapLogic assets.

    In SnapLogic Classic Manager, go to Settings and click Configure Git.


    Manager - Settings - Git Integration

    In the Configure Git dialog, configure the settings for Git Integration with Azure Repos.

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In the SnapLogic environment Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

    Accept the default https://dev.azure.com/.

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes

    In SnapLogic Admin Manager, navigate to System Configuration and select Git Integration. In the Git Integration page, configure the settings for Git integration with Azure Repos.

    1. From the Git integration type dropdown, select Microsoft Azure Devops Repository.
    2. Copy the values from the Azure Repos Application Settings.
    In the SnapLogic environment Copy from Azure Repos

    Configure Git dialog


    Application Settings of the newly registered app

    App ID App ID
    App Secret App Secret
    Base URL

    Accept the default https://dev.azure.com/.

    Client Secret Client Secret
    Authorization callback URL

    Set to https://control-plane-name/api/1/rest/asset/app/oauthcallback.

    Where control-plane-name is the control plane you are using. For example:
    • elastic
    • uat
    • emea
    Authorized Scopes Authorized Scopes
The SnapLogic environment is configured to connect to Azure Repos.
Have users authorize SnapLogic to access Azure Repos.