AWS Billing
Steps and required credentials to connect AWS Billing to Squadbase
Required Information
| Field | Description |
|---|---|
| AWS Access Key ID | The AWS Access Key ID for authentication. |
| AWS Secret Access Key | The AWS Secret Access Key for authentication. |
| AWS Region | The 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.
- Open "IAM" in the AWS Management Console
- Select the target user under "Users"
- Open the "Security credentials" tab and click "Create access key"
- 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.
- Open "Billing and Cost Management" in the AWS Management Console
- Click "Cost Explorer" in the left sidebar
- 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.