> For the complete documentation index, see [llms.txt](https://docs.hava.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hava.io/importing/google-cloud/getting-started-google-cloud-platform/import-multiple-projects.md).

# Import Multiple Projects

How to Import Multiple GCP Projects using the same Service Account.

Hava has support for importing multiple projects using the same service account, provided the account has access to them.

**The first step is to make sure the necessary API is enabled.**

Navigate to your GCP account API library and enable - "Cloud Resource Manager API"

**Give your service account access to other projects.**

If your service account can access the resource manager API and has access to other projects, then Hava will automatically import them.

One way to achieve this is to manually add your service account as a member for other projects.

* Select the project you want to add access to from the drop-down menu at the top of your GCP console.
* Navigate to "IAM & Admin"  >  IAM
* Click "Add" at the top of the page
* In the "New Members" field, add the email address of your Hava service account
* Make sure the new member has the "Project Viewer" role
* Save

Now you can manually sync, or wait for the next auto import and you will see resources for both projects.

{% hint style="info" %}
Please note: Although you can add as many GCP projects as you want to each service account, the more you add, the longer each import will take. If your projects are especially large and the import takes more than an hour, the import may time out.

It may be better to create multiple service accounts and then use the [search/custom](https://docs.hava.io/features/defining-custom-environments) diagrams function to create diagrams with resources from both projects.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hava.io/importing/google-cloud/getting-started-google-cloud-platform/import-multiple-projects.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
