[BETA] Configuring Access And Permissions


This feature is currently in beta

Cloud Import is currently in closed beta and not adding new projects.

  • To stream data into Mixpanel, check out our Import API
  • To import data from Google Cloud Storage into Mixpanel, check out our GCS guide
  • To connect Mixpanel to your data warehouse, check out our Census Integration

GCS Bucket Configuration

Create a bucket in GCP cloud storage and assign the service account
[email protected] the following roles:
Storage Object Creator and Storage Object Viewer

Use the created bucket for your Cloud Import Connector.

AWS S3 Bucket Configuration

All imports from AWS to Mixpanel require that you create a new data access policy, or add the following permissions to an existing data access policy.
Go to the IAM service in AWS and create a policy.

Click the JSON on the right and parse this code to create policy required (please replace <bucket_name> with S3 bucket name):

    "Version": "2012-10-17",
    "Statement": [{
        "Sid": "MixpanelObjectAccess",
        "Effect": "Allow",
        "Action": [
        "Resource": [

After creating the policy above, you need to create a cross-account IAM Role to assign the policies to the role.

  1. Go to the AWS IAM service on the console
  2. Click Roles in the sidebar
  3. Click Create Role
  4. Select Other AWS Accounts on the trust policy page and enter 485438090326 for the account ID
  5. In the Permissions page, find and select the policies you created above
  6. In the Review page, enter a name and description for the role and click Create Role

Next, limit the trust relationship to the Mixpanel export user to ensure only Mixpanel has the ability to assume this specific role.

  1. Navigate to the AWS IAM service in the console
  2. Click Roles in the sidebar
  3. Find and click the role you just created
  4. Navigate to the Trust Relationships tab
  5. Click Edit trust relationship
  6. Replace the contents with the following JSON:
        "Version": "2012-10-17",
        "Statement": [{
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::485438090326:user/mixpanel-export"
            "Action": "sts:AssumeRole",
            "Condition": {}

Did this page help you?