Skip to content

Latest commit

 

History

History
105 lines (76 loc) · 2.68 KB

amazon-s3.md

File metadata and controls

105 lines (76 loc) · 2.68 KB
description
This page describes how to add integration with Amazon S3 storage

Amazon S3

Amazon S3 is one of the largest cloud storage providers. Set up your own bucket and receive daily gzip compressed .csv files there.

How to Add Integration?

{% tabs %} {% tab title="Step 1" %} Sign in to your Amazon Console and navigate to Identity and Access Management (IAM).

Go to Policies section and click on Create Policy:

{% endtab %}

{% tab title="2" %} Copy contents of the following JSON to JSON tab of the policy permissions and replace apphud-test-export with your custom bucket name:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "ListObjectsInBucket",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::apphud-test-export"
            ]
        },
        {
            "Sid": "AllObjectActions",
            "Effect": "Allow",
            "Action": "s3:*Object",
            "Resource": [
                "arn:aws:s3:::apphud-test-export/*"
            ]
        }
    ]
}

**** {% endtab %}

{% tab title="3" %} Here is how policy permissions should look like:

{% endtab %}

{% tab title="4" %} Now it's time to create a User for this policy. Go to Users section and click on Add Users:

{% endtab %}

{% tab title="5" %} Enter user name (for example, Apphud) **** and **** select Programmatic access type:

{% endtab %}

{% tab title="6" %} Create a group with recently created Policy and add your user to this group:

{% endtab %}

{% tab title="7" %} After creating a user download csv credentials or copy Access Key ID and Secret Key:

{% endtab %}

{% tab title="8" %} In Apphud in Integrations Page find Amazon S3 ETL and click Add integration:

{% endtab %}

{% tab title="9" %} Fill in all fields with credentials obtained in the previous steps:

{% endtab %}

{% tab title="10" %} Finally, Enable integration and click Save. Once enabled, allow up to 24 hours for the first delivery to appear.

{% endtab %} {% endtabs %}

Get New or Updated Events Only

You can receive only new and updated transactions from the last export instead of all data. The default value of this option is on. This is recommended value.