# How to Find Project ID and Instance ID in Spanner

> Instructions on how to find project ID and instance ID of a Spanner instance

Source: https://www.bytebase.com/reference/spanner/how-to/how-to-find-project-id-and-instance-id-spanner/

---

![Spanner database detail page](/content/reference/spanner/how-to/how-to-find-project-id-and-instance-id-spanner/spanner.webp)

From the Spanner database detail page, you can get the project ID and the instance ID from the URL.

For example, the project ID and instance ID are `spanner-test-3717002` and `spanner-bb1` respectively for the above database.

When [adding an instance](https://docs.bytebase.com/get-started/step-by-step/add-an-instance/#add-an-instance) in Bytebase, the `Project ID and instance ID` input should be `projects/spanner-test-3717002/instances/spanner-bb1`.