Setup takes about 20 minutes.
Introduction
Connecting AWS Athena to Foundational allows Foundational to scan metadata, determine lineage, and assess downstream impact for Athena databases and tables.
To make the connection, you need to:
Create AWS access using CloudFormation
Assign AWS permissions to Foundational
Connect to Foundational using your AWS account details
Prerequisites
Ensure you have:
AWS IAM permissions to create roles and deploy CloudFormation stacks.
Added Foundational IP addresses to the allowlist, see the article Allowing IP access to Foundational.
Access permissions
The permissions you assign to Foundational enable it to:
Read metadata from AWS Glue databases, tables, and partitions
Run Athena queries to retrieve metadata and access query history
Write access to the specified Amazon S3 output bucket/paths for query results
Optional: Read access to Amazon S3 output buckets or paths. This allows Foundational to read your data and is required only if you enable data observability features.
The table lists the required permissions.
Services | Required Permissions | Resources |
AWS Athena |
|
|
AWS Glue |
|
|
Amazon S3 |
|
|
Create Athena access using AWS CloudFormation
Foundational automatically generates the CloudFormation configuration file based on the details you provide.
Step 1: Connect Foundational to AWS Athena
In Foundational, open the Connectors & Integrations page.
In Warehouses, select the Athena card and click Connect.
A new screen opens. Click Add Account.
The initial setup screen opens. Click Start Setup.
The Setup New Connection screen opens.
Enter the details:
Client ID: Your AWS account ID (12-digit number).
Role Name: This is the AWS access role name for Foundational. CloudFormation automatically creates a default role
FoundationalAthenaAppAccess. Use the default or a role name that is not currently in use.
Region Name: The AWS region where you manage your AWS Glue catalog.
External ID: An auto-generated ID. Copy and save it. You’ll need the value to deploy the CloudFormation stack.
S3 Output Path: The full S3 path where you want Foundational to save query results. We recommend you create a new bucket
arn:aws:s3:::foundational-athena-results.Foundational requests write access to this path only.
Click Next.
A new screen opens. Click Download YAML File.
Leave the Foundational screen open for now and do not click Next. You’ll return to this screen in step 3.
Step 2: Deploy the CloudFormation stack
This step uses the auto-generated External ID that you saved and copied from the Foundational UI in the previous step.
In AWS, go to the CloudFormation Stacks page.
In Specify template, select Upload a template file and upload the YAML file that you downloaded.
Click Next.
In Provide a stack name and enter a stack name of your choice (e.g.,
FoundationalAppAccess).
Click Next.
In Capabilities, select: I acknowledge that AWS CloudFormation might create IAM resources with custom names.
Click Next.
At the bottom of the page, click Submit.
The stack creation process takes about a minute. You can track the status on the CloudFormation stacks page.
When the process completes, move to step 3.
Step 3: Connect Foundational to Athena
If you don’t need to enable observability features, the connection to AWS Athena is complete.
Enable observability features (optional)
Follow these steps if you set up the connection without observability features and now wish to add them.
Contact Foundational Support to receive the updated CloudFormation YAML File.
In AWS, go to the CloudFormation Stack page and select the existing stack (e.g. FoundationalAppAccess).
Click Update stack (top right) and select Make a direct update and select these options:
In Prerequisite - Prepare template: Select Replace existing template.
In Specify template: Select Upload a template file and upload the YAML file.
In Specify stack details, click Next.
In Capabilities, select: I acknowledge that AWS CloudFormation might create IAM resources with custom names.
Click Next.
At the bottom of the page, click Submit.
The stack creation process takes about a minute. You can track the status on the CloudFormation stacks page.
That’s it. Foundational is now connected to Athena.






