> For the complete documentation index, see [llms.txt](https://docs.opsnow.io/dev-opsnow-user-guide-v0.2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsnow.io/dev-opsnow-user-guide-v0.2/introduction/getting-started/connect-your-cloud-accounts/connect-aws-accounts.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
