# AWS Integration with ComplianceBot

Integrating AWS with ComplianceBot helps automate compliance checks, ensuring your infrastructure aligns with regulatory standards. This guide walks you through the step-by-step process of integrating AWS with ComplianceBot.

To navigate to the <mark style="color:blue;">**'Integrations**</mark>' section in the ComplianceBot dashboard, follow these steps:

* <mark style="color:orange;">**Access Settings**</mark><mark style="color:orange;">:</mark> Log in to ComplianceBot and go to the <mark style="color:blue;">**Settings**</mark> menu from the main navigation panel.
* <mark style="color:orange;">**Select Integrations**</mark><mark style="color:orange;">:</mark> Within Settings, click on the <mark style="color:blue;">**Integrations**</mark> tab to view the list of supported cloud platforms
* <mark style="color:orange;">**Select AWS**</mark>: From the list of available integrations, choose <mark style="color:blue;">**AWS**</mark><mark style="color:blue;">.</mark>
* <mark style="color:orange;">**Click “Integrate”**</mark>: Click on the <mark style="color:blue;">**Integrate**</mark> button to begin the AWS integration process.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FH2nBbdjHNPMFKJduKtal%2FScreenshot%202024-09-20%20at%203.59.10%20PM.png?alt=media&#x26;token=1afa8afc-6fa4-4346-a9c5-12aa3b5fa1b8" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Obtain the CloudFormation Template Link</mark>

<mark style="color:orange;">**Copy the Template Link**</mark>: ComplianceBot will provide a CloudFormation template link. Copy this link; it will be used in the AWS Console setup.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FDi71Mu9JbWSJjga4dAZD%2FScreenshot%202024-09-20%20at%203.59.10%20PM.png?alt=media&#x26;token=064b1339-cf7d-4468-8ca9-0fc7bcbe85ea" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Set Up in AWS Console**</mark>

<mark style="color:orange;">**Log into AWS Console**</mark><mark style="color:orange;">:</mark> Open your AWS account and navigate to the CloudFormation service.

<mark style="color:orange;">**Create a Stack**</mark><mark style="color:orange;">:</mark>

* Click “<mark style="color:blue;">**Create Stack**</mark>.”
* In the Prerequisite section, select “<mark style="color:blue;">**Choose an existing template**</mark>.”
* Choose "<mark style="color:blue;">**Amazon S3**</mark>" and paste the copied <mark style="color:blue;">**CloudFormation template link**</mark>.
* Click “<mark style="color:blue;">**Next**</mark>” to proceed.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2F0K9nMdDHc8eOyGKe8o5c%2FScreenshot%202024-09-20%20at%203.56.19%20PM.png?alt=media&#x26;token=eda0cc90-3e62-4b83-abba-b02b3ebaf7ba" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Configuring AWS Stack</mark>

<mark style="color:orange;">**Enter Stack Name**</mark>: Provide a stack name of your choice in the designated field.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FNn9CmbgLI8hBsD7fam3O%2FScreenshot%202024-09-20%20at%204.00.25%20PM.png?alt=media&#x26;token=106a4aa0-e3e2-4120-9860-bf6023ef5bb2" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**Configure Settings**</mark><mark style="color:orange;">:</mark> Keep the default settings and click <mark style="color:blue;">**“Next”**</mark> to continue.

<mark style="color:orange;">**Review and Submit**</mark><mark style="color:orange;">:</mark>

* Review the stack configuration details to ensure accuracy.
* Click <mark style="color:blue;">**“Submit”**</mark> to create the stack.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FW1kdc2Ch49wyvytRni6h%2FScreenshot%202024-09-20%20at%204.01.01%20PM.png?alt=media&#x26;token=726afbdd-b50d-451e-9a50-fe3dbf9fe2da" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FoW3ZpE2IAKGZ7ntKpJk2%2FScreenshot%202024-09-20%20at%204.01.45%20PM.png?alt=media&#x26;token=6cf05f7c-df94-47e9-a5bd-1211afc473d1" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Wait for Stack Creation</mark>

<mark style="color:orange;">**Monitor Creation**</mark><mark style="color:orange;">:</mark> Wait until the stack creation status is complete.

<mark style="color:orange;">**Go to Outputs Tab**</mark><mark style="color:orange;">:</mark> Once complete, navigate to the <mark style="color:blue;">**"Outputs"**</mark> tab to retrieve necessary credentials.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FlPSGmOgYy3xhDlqGJg8x%2FScreenshot%202024-09-20%20at%204.17.02%20PM.png?alt=media&#x26;token=e1bdadab-2b59-41bb-8d90-d28946fc20e9" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Enter AWS Credentials in ComplianceBot</mark>

<mark style="color:orange;">**Copy Access Keys**</mark><mark style="color:orange;">:</mark> From the Outputs tab, copy the Access Key and Secret Access Key.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2Ft6IR7RYjNU7inQD9elgO%2FScreenshot%202024-09-20%20at%204.17.10%20PM.png?alt=media&#x26;token=661d5c36-e5d8-4669-a6b6-13296c537987" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**Paste Keys in ComplianceBot**</mark><mark style="color:orange;">:</mark> Enter these keys in the corresponding fields in ComplianceBot’s AWS integration settings.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FRpiqXDKUVqvrVW4avkTh%2FScreenshot%202024-09-20%20at%204.17.43%20PM.png?alt=media&#x26;token=492522fc-a899-48a4-99f3-fa810a0c339a" alt=""><figcaption></figcaption></figure>

<mark style="color:orange;">**Enter AWS Account Name**</mark><mark style="color:orange;">:</mark> Provide your AWS account name in the specified field.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FzColj40EesOXcPRitbyp%2FScreenshot%202024-09-20%20at%204.18.24%20PM.png?alt=media&#x26;token=e6514985-a4e6-448f-bc45-aa02b85cbd8f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FSjIc0s9Erp1kAIoIdtl0%2FScreenshot%202024-09-20%20at%204.18.35%20PM.png?alt=media&#x26;token=d9d4caec-c262-44c2-a0d8-a5b0ed58705f" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Configure Sync Options</mark>

<mark style="color:orange;">**Choose Sync Type**</mark><mark style="color:orange;">:</mark> Select either automatic or manual syncing.

* For automatic syncing, set the preferred frequency (e.g., daily, weekly).
* For this example, we’ll proceed with manual syncing.

<figure><img src="https://3100958617-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8SOAfKaNuQuOj7MI6cUE%2Fuploads%2FMmh8LAC0dTxlASOuYWQa%2FScreenshot%202024-09-20%20at%204.18.48%20PM.png?alt=media&#x26;token=d7ea90cc-bc87-4a42-b0e6-58c36b3893ad" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Test the AWS Connection</mark>

<mark style="color:orange;">**Test Connection**</mark><mark style="color:orange;">:</mark> Click <mark style="color:blue;">“Test Connection”</mark> to ensure the integration is successful.

<mark style="color:orange;">**Save Settings**</mark><mark style="color:orange;">:</mark> If the test is successful, click <mark style="color:blue;">“Save”</mark> to finalize the integration.

#### <mark style="color:blue;">Running Manual Sync</mark>

<mark style="color:orange;">**Manual Sync**</mark><mark style="color:orange;">:</mark> Since we chose manual sync, click <mark style="color:blue;">“Manage”</mark> under AWS within ComplianceBot.

<mark style="color:orange;">**Click “Sync Now”**</mark><mark style="color:orange;">:</mark> This action will run compliance checks on your AWS infrastructure.

<mark style="color:orange;">**Monitor Sync Status**</mark><mark style="color:orange;">:</mark> Wait for the sync status to update to <mark style="color:blue;">“Success.”</mark> Results will be available in the cloud section.

####
