Connect GitLab

This page describes how to connect GitLab to Agentspace Enterprise.

After you set up your data source and import data the first time, the data store syncs data from that source at a frequency that you select during setup.

Before you begin

Before setting up your connection:

  1. Set up access control for your data source. For information about setting up access control, see Use data source access control.

  2. A GitLab administrator must obtain the GitLab instance personal access token to integrate with Agentspace Enterprise.

Create a GitLab connector

Console

To use the Google Cloud console to sync data from GitLab to Agentspace Enterprise, follow these steps:

  1. In the Google Cloud console, go to the Agentspace Enterprise page.

    Agentspace Enterprise

  2. In the navigation menu, click Data stores.

  3. Click Create data store.

  4. On the Select a data source page, scroll or search for GitLab to connect your third-party source.

  5. Enter your GitLab authentication information and click Continue.

  6. Select which entities to sync and click Continue.

  7. Select the synchronization frequency for full sync, and optionally, for incremental sync. For more information, see Sync frequency.

    Data sync frequency settings.
    Sync frequency settings for full and incremental data sync.

    If you want to schedule separate full syncs of entity and identity data, expand the menu under Full sync and then select Custom options.

    Custom options for full data sync.
    Setting separate schedules for full entity sync and full identity sync.
  8. Select a region for your data store.

  9. Enter a name for your data connector.

  10. Click Create. Agentspace Enterprise creates your data store and displays your data stores on the Data stores page.

  11. To check the status of your ingestion, go to the Data stores page and click your connector name to see details about it on its Data page. The Connector state changes from Creating to Running when it starts synchronizing data. When ingestion is complete, the state changes to Active to indicate that the connection to your data source is set up and awaiting the next scheduled synchronization.

    Depending on the size of your data, ingestion can take several minutes or several hours.

Next steps