---
title: "Get AWS Cloudformation setup information for a S3 Data Warehouse integration"
method: GET
path: "/v1/integrations/s3-data-warehouse/cloudformation-setup-info"
tags: ["External S3 Data Warehouse Integration"]
---

# Get AWS Cloudformation setup information for a S3 Data Warehouse integration

`GET /v1/integrations/s3-data-warehouse/cloudformation-setup-info`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/integrations/s3-data-warehouse/cloudformation-setup-info`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Gets AWS Cloudformation setup information for an external S3 Data Warehouse integration

## Query parameters

- `bucketName` string

## Response `200`

Cloudformation setup information retrieved successfully

- CloudFormationSetupInfo
  - `awsAccountId` string, required: The AWS account ID
  - `bucketName` string, required: The name of the S3 bucket to use for the data warehouse
  - `orgName` string, required: The organization's name, which names its folder under the bucket's query-results prefix. The stack expires that folder's query results after a day.
  - `region` string, required: The AWS region the bucket must be created in. Matches the region the Grepr deployment is running in.
  - `roleName` string, required: The IAM role name for the data warehouse integration
  - `stackName` string, required: The name of the CloudFormation stack

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
