This document contains examples for creating an integration in Rockset.
Creating an Integration with Amazon S3 credentials
If you have an Amazon S3 bucket that you want to ingest data from, you can create a Rockset Integration to hold the credentials required to access it. You can use a single integration to create many collections by referencing the integration by name.
$ rock create integration "aws-rockset-readonly" \ --type=AWS \ --aws_access_key_id="..." \ --aws_secret_access_key="..." \ Integration "aws-rockset-readonly" was created successfully.
from rockset import Client rs = Client() integration = rs.Integration.AWS.create(name='test_aws_integration', aws_access_key_id='...', aws_secret_access_key='...') # if it already exists, you may do the following: # integration = rs.Integration.retrieve("my-integration-name")