# BYOC Customer Onboarding

### Prerequisites

* AWS account with Administrator access
* Company identifier (lowercase, alphanumeric with hyphens)

### Quick Start (Recommended)

#### Step 1: Login to Your AWS Account

Login to the AWS Console with Administrator credentials.

#### Step 2: Launch CloudFormation Template

Click this link:[ https://dataflint-public-templates.s3.amazonaws.com/onboard](https://dataflint-public-templates.s3.amazonaws.com/onboard)

#### Step 3: Enter region

Enter region to provision Dataflint resources in !

#### Step 4: Enter Company Name

* Enter your company identifier
* Must be lowercase, alphanumeric, can include hyphens
* Used as External ID for secure cross-account access
* Click Create stack

#### Step 5: Wait for Completion

Stack creation takes \~2 minutes. Status will show CREATE\_COMPLETE.

### Next Steps

Share your AWS Account ID and CompanyName(company identifier) with Dataflint to complete the setup.

***

### Alternative Methods

#### Download Template

Direct download: <https://dataflint-public-templates.s3.amazonaws.com/byoc/dataflint\\_management\\_role.yaml>

#### Deploy aws cloudformation via AWS CLI &#x20;

\
create-stack \  --stack-name dataflint-management \  --template-url <https://dataflint-public-templates.s3.amazonaws.com/byoc/dataflint\\_management\\_role.yaml> \  --parameters ParameterKey=CompanyName,ParameterValue=YOUR\_COMPANY\_NAME \  --capabilities CAPABILITY\_NAMED\_IAM \  --region \<region>

Replace YOUR\_COMPANY\_NAME with your company identifier.

#### Deploy via Console (Manual Upload)

1. Download the template from the link above
2. Go to CloudFormation → Create stack → With new resources
3. Select Upload a template file
4. Choose the downloaded YAML file
5. Click Next
6. Enter stack name: dataflint-management
7. Enter your company name
8. Click Next → Next → Create stack

***

### What Gets Created

* IAM Role: dataflint\_management\_role (for Dataflint to manage your infrastructure)
* IAM Policy: dataflint\_permissions\_boundary (security boundary)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dataflint.gitbook.io/dataflint-for-spark/byoc-bring-your-own-account/byoc-customer-onboarding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
