For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Set Up and Manage Google Cloud Service Account Access

Note

Some Atlas features such as Data Federation require access to resources in your Google Cloud Storage environment. To grant access in a secure manner, create or update a Google Cloud Service Account with access policy.

To configure Google Cloud Service Account access, you must have Project Owner access to the project.

Users with Organization Owner access must add themselves to the project as a Project Owner.

  • An Atlas account.

  • An Atlas M10+ cluster hosted on Google Cloud.

You can set up a Google Cloud service account with access policy for your Atlas project from the Atlas Administration API or Atlas UI.

You can create a Google Cloud Service Account entirely from within the Atlas Data Federation UI.

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3

Click Configure for Google Cloud.

Atlas displays the Authorize Google Cloud Service Account page the first time. Subsequently, Atlas displays the Google Cloud Service Account Access page.

4
  1. Click Create Google Cloud Service Account.

  2. In the modal window that appears, click Create.

  3. Click Done to finalize creation of your Google Cloud Service Account.

You can view all Google Cloud service accounts for your Atlas project from the Atlas Administration API or Atlas UI.

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3

The Google Cloud Service Account Access page displays. The page displays the list of service accounts configured for your project. For each service account, the page displays the following:

Field Name
Description
Service Account

The ID of the service account.

Created Date

The date when you created and associated the service account with Atlas.

Actions

The actions that you can take on the associated service account. You can do the following:

  • Click to remove the service account authorization for Atlas.

  • Click to view service account details or create a federated database instance.

You can view the details of an authorized Google Cloud Service Account from the Atlas Administration API or Atlas UI.

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3

The Google Cloud Service Account Access page displays. The page displays the list of service accounts configured for your project.

4

Atlas displays the Service Account Details window. You can view and copy the following information about the authorized Service Account:

Field Name
Description
Atlas GCP Service Account

The ID of the Atlas Google Cloud application.

Service Account ID

The ID of the service account.

5

You can't remove a Service Account that is currently in use. You can remove unused Google Cloud Service Accounts from the Atlas Administration API or Atlas UI.

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3

The Google Cloud Service Account Access page displays. The page displays the list of services accounts configured for your project.

4

Atlas displays a confirmation window.

5