This feature is in public preview and available only on Standard and Enterprise plans.

This page shows you how to integrate Pinecone with an Google Cloud Storage (GCS) bucket. Once your integration is set up, you can use it to import data from your bucket into a Pinecone index.

Before you begin

Ensure you have the following:

1. Create a service account and key

Pinecone will use a service account to access your GCS bucket.

  1. Create a service account for your Pinecone integration.

  2. Create a service account key. Select JSON as the key type.

    The key will be downloaded to your computer. You’ll use this key when adding a storage integration in Pinecone.

2. Grant access to the bucket

Add your service account as a principal to the bucket.

  • For principal, use your service account email.
  • For role, select Storage Object View or another role that has permission to list and read objects in a bucket.

3. Add a storage integration

In the Pinecone console, add an integration with Google Cloud Storage.

  1. Select your project.
  2. Go to Manage > Storage integrations.
  3. Click Add integration.
  4. Enter a unique integration name.
  5. Select Google Cloud Storage.
  6. Open the JSON key file for your service acccount.
  7. Copy the contents of the key file and paste it into the Index account key JSON field.
  8. Click Add integration.

Next steps

Import data from your GCS bucket into a Pinecone index.