Docs
My CompanyData Import

AWS setup guide

Prepare an AWS billing export in S3 and the read-only credentials emma needs to import your AWS costs.

Overview

This guide explains how to prepare your AWS account so that emma can access your billing data, and what credentials to provide during the connection setup.

emma reads your billing data from an S3 bucket you control — it never accesses your workloads or infrastructure.

Before you start

You need access to the following services in your master (management) AWS account:

Step 1 — Create an S3 bucket

This bucket will receive your billing export files.

  1. Open Amazon S3 and click Create bucket.
  2. Enter a Bucket name (e.g. my-company-focus-export). Choose any region.
  3. Leave all other settings as default and click Create bucket.

S3 Create bucket form

Save the bucket name — you will need it later.

Step 2 — Set up FOCUS billing export

  1. Open Billing and Cost ManagementCost and Usage AnalysisData Exports.
  2. Click Create.
  3. Fill in:
  • Export type → Standard data export
  • Export name → any name (e.g. focus-export)
  • Data table content → FOCUS 1.0 with AWS columns
  • Compression type → Parquet
  • File versioning: any format is applicable. Create a new data export file is better for keeping history of changes but consume more space as the files are not deleted.
  1. Under Data export storage settings, click Configure next to S3 bucket. Select Use existing bucket and choose the bucket from Step 1.
  2. Enter an S3 path prefix (e.g. billing). This is the folder path inside the bucket where files will be stored.
  3. Click Create.

Data Exports creation

Save the Export name and the S3 path prefix — you will need them later.

Step 3 — Create an IAM user

This user will be used by emma to access the S3 bucket — it has no other permissions.

  1. Open IAMAccess managementIAM UsersCreate user.
  2. Enter a User name (e.g. emma-service-user). Do not enable Console access.

IAM Create user form

  1. Click Next.
  2. Under Set permissions, select Attach policies directlyCreate policy.
  3. Paste the following policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::<s3_bucket_name>",
        "arn:aws:s3:::<s3_bucket_name>/*"
      ]
    }
  ]
}
  1. Name the policy (e.g. emma-s3-read-policy) and click Create policy.
  2. Attach the newly created policy to the user and click NextCreate user.

Policy editor

Step 4 — Create access keys

  1. On the Users page, open the user you just created.
  2. Go to the Security credentials tab.
  3. Scroll to Access keysCreate access key.

Security credentials

  1. Select Application running outside AWSNextCreate access key.

Access key creation form

  1. Copy the Access key ID and Secret access key.

The Secret access key is shown only once. Copy it immediately.

What to enter in emma

FieldValue
Access Key IDCopied from Step 4
Secret Access KeyCopied from Step 4
S3 bucket nameBucket name from Step 1
S3 path prefixPrefix from Step 2 (e.g. billing)
Export nameExport name from Step 2 (e.g. focus-export)
How is this guide?

Last updated on 12 Aug 2026

On this page