# Connect AWS Accounts

To connect your AWS account with OpsNow, follow the steps provided on the webpage. Log in to your AWS account, create a stack in AWS, and add your accounts. This process ensures that your accounts are properly linked and that permissions are granted for seamless integration with OpsNow.

### 1. Create Stack

* Please click **Create Stack & Add Accounts** button.

<figure><img src="/files/f0UpYWBsHHfRH914KLOe" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To take a look at the OpsNow CloudFormation template, see [CloudFomation YAML Template](https://s3-data-dev-cloudformation.s3.ap-northeast-2.amazonaws.com/v1.6/opsnow-template-v1.6.yml)
{% endhint %}

### 2. AWS Login

* Ensure that you are logged in with the AWS account you want to register with OpsNow. Duplicate registration of an account already registered with OpsNow is not allowed.

<figure><img src="/files/ZhKmOzfbbAJI9eX2IaAN" alt=""><figcaption></figcaption></figure>

### 3. Stack Creation in AWS

* Click **Create Stack** button below to connect to the AWS console. If a stack is in progress, it will be indicated by a loading icon or an 'in progress' status in OpsNow.

<figure><img src="/files/JRzd10KD6YonQw3Z3H6f" alt=""><figcaption></figcaption></figure>

* You can continue with the onboarding process even if the stack creation is still ongoing.

<figure><img src="/files/wr6nqvj4KZcSIWWAPEvG" alt=""><figcaption></figcaption></figure>

### 4. Check Your Account

* Please check the registered AWS accounts. If there are additional accounts you want to register, simply create another stack.

<figure><img src="/files/rOTMVVkkkN1Tt642QPfa" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Add More AWS Accounts**

After registering the Master account and completing the **\[Get Started]** process, you can view and easily add the Member accounts connected to the Master account in the **Settings > Cloud Accounts** menu.
{% endhint %}


---

# 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://docs.opsnow.io/dev-opsnow-user-guide-v0.2/introduction/getting-started/connect-your-cloud-accounts/connect-aws-accounts.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.
