Squadbase logo

AWS Billing

Steps and required credentials to connect AWS Billing to Squadbase

Required Information

FieldDescription
AWS Access Key IDThe AWS Access Key ID for authentication.
AWS Secret Access KeyThe AWS Secret Access Key for authentication.
AWS RegionThe AWS region for the Cost Explorer API endpoint. Cost Explorer's endpoint resides in us-east-1; use us-east-1 unless you have a specific reason to use another region.

How to Obtain Each Value

AWS Access Key ID / AWS Secret Access Key

Obtain these from IAM in the AWS Management Console.

  1. Open "IAM" in the AWS Management Console
  2. Select the target user under "Users"
  3. Open the "Security credentials" tab and click "Create access key"
  4. Save the displayed Access Key ID and Secret Access Key

Grant the IAM user the following permissions to access Cost Explorer:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "ce:Get*",
      "Resource": "*"
    }
  ]
}

AWS Region

Cost Explorer is a global service, but its API endpoint is always us-east-1. Enter us-east-1 unless you have a specific reason to use another endpoint.


Enable Cost Explorer

Cost Explorer must be enabled before it can be accessed via the API.

  1. Open "Billing and Cost Management" in the AWS Management Console
  2. Click "Cost Explorer" in the left sidebar
  3. Click "Launch Cost Explorer" if it has not been enabled yet

It may take up to 24 hours for data to become available after enabling Cost Explorer for the first time.