Google Cloud Storage is a popular web service for storing and accessing your data in the Google Cloud Platform infrastructure. It offers state-of-the-art performance and scalability, along with ensuring the security and privacy of your data.
RudderStack allows you to add Google Cloud Storage as a destination to which you can send your event data from any source reliably.
Follow these steps to set up Google Cloud Storage before adding it as a destination in RudderStack:
- Log in to the your Google Cloud platform console.
- Create a new bucket. You can also use an already existing bucket.
- Create a new service account under IAM & Admin - Service Accounts
Storage Object Adminaccess to the newly created service account.
- Create a key for the service account. Choose key type as JSON. This will cause a JSON key file to be downloaded.
In order to enable sending data to Google Cloud Storage, you will first need to add it as a destination to the source from which you are sending event data. Once the destination is enabled, events from RudderStack will start to flow to Google Cloud Storage.
To do so, please follow these steps:
- Choose a source to which you would like to add Google Cloud Storage as a destination. You can also create the destination first, and connect it to a source later.
- Once you have set up the source, select Google Cloud Storage from the list of destinations. **Give your destination a name, and then click Next. You will then see the following Connection Settings** screen:
- Enter your Google Cloud Storage Bucket Name, as well as the content of the JSON key file (refer to the Setting up Google Cloud Storage section above) in the Credentials field.
- If you need any transformation choose one from the list. Else, click Next.
That's it! You have successfully added Google Cloud Storage as a destination in RudderStack. Once you start sending events from your source, RudderStack dumps them into the Cloud Storage bucket automatically.