

# Getting started with AWS Ops Agent for networking

This topic describes how to add the Networking specialist to an Agent Space that covers individual accounts (account mode). To cover accounts through an organizational unit (OU) or an entire organization, see [Setting up AWS Ops Agent for networking across an AWS Organization](ops-agent-networking-organization-setup.md).

## Prerequisites
<a name="ops-agent-networking-getting-started-prerequisites"></a>
+ An Agent Space in a supported Region. The **Specialists** section appears only in supported Regions. For more information, see [Supported Regions](ops-agent-networking-supported-regions.md).
+ Permission to add a specialist: `aidevops:ListAssociations`, `aidevops:AssociateService`, and `aidevops:DisassociateService`. These are included in `AIDevOpsAgentFullAccess`.
+ Permissions to manage the network scope. Attach the `AWSNetworkManagerFullAccess` managed policy to the user or role that adds the Networking specialist.
+ The AWS Network Manager service-linked role `AWSServiceRoleForNetworkManager` in each account. In account mode, you create this role manually in each account. In organization mode, AWS Network Manager creates it through trusted access. If this role is missing, the account can't be added to the scope. To create it manually, run the following command.

  ```bash
  aws iam create-service-linked-role --aws-service-name networkmanager.amazonaws.com
  ```
+ A list of the Regions where your workloads run. AWS Ops Agent for networking analyzes only the Regions that you select.

## Step 1: Add the Networking specialist
<a name="ops-agent-networking-getting-started-add"></a>

You add AWS Ops Agent for networking as the Networking specialist of an Agent Space. The following procedure covers the AWS Ops Agent for networking choices. For the full add-specialist procedure, see the *AWS Ops Agent User Guide*.

**To add the Networking specialist to an existing Agent Space (console)**

1. Open the AWS Ops Agent console and open your Agent Space.

1. Choose the **Capabilities** tab.

1. Under **Specialists**, choose **Add specialist**.

1. In the dialog box, choose the **Networking specialist**.

1. Choose the Regions to analyze.

1. Choose **Add specialist**.

While you create a new Agent Space, you can add the Networking specialist in the **Specialist** section: select **Networking**, choose the Regions, and then finish creating the Agent Space. If the Networking specialist can't be added, the Agent Space is still created and a message explains why. You can add the Networking specialist later from the **Capabilities** tab.

## Step 2: Confirm that the Networking specialist is active
<a name="ops-agent-networking-getting-started-confirm"></a>

After you add the Networking specialist, its status is **Pending** while the network scope is created and accounts are added. When the status is **Active**, the Networking specialist is ready. If the status is **Broken**, see [Troubleshooting AWS Ops Agent for networking](ops-agent-networking-troubleshooting.md). For the full list of specialist status values, see the *AWS Ops Agent User Guide*.

A status of **Active** means that the Networking specialist is set up and ready. It doesn't mean that every account is fully covered. To confirm which accounts and Regions are covered, view the network scope principals. An account can be only partly covered, in which case the network scope reports `PRINCIPALS_NOT_FULLY_COVERED` even when the status is **Active**. For more information, see [Working with network scopes](ops-agent-networking-network-scopes.md) and [A scope reports PRINCIPALS\_NOT\_FULLY\_COVERED](ops-agent-networking-troubleshooting.md#ops-agent-networking-troubleshooting-not-fully-covered).

## Step 3: Check network visibility
<a name="ops-agent-networking-getting-started-visibility"></a>

To confirm that AWS Ops Agent for networking can see your network, open the web app from the Agent Space details, start a new chat, and ask a question such as the following:

Which AWS accounts and Regions does this network scope cover, and is the network ready for analysis?

For more example questions to ask AWS Ops Agent for networking, see [Working with AWS Ops Agent for networking](ops-agent-networking-working-with.md).

You can also view the network scope with the AWS CLI. For more information, see [Working with network scopes](ops-agent-networking-network-scopes.md).

## Next steps
<a name="ops-agent-networking-getting-started-next"></a>
+ To ask AWS Ops Agent for networking about your network, see [Working with AWS Ops Agent for networking](ops-agent-networking-working-with.md).
+ To cover accounts across an organization, see [Setting up AWS Ops Agent for networking across an AWS Organization](ops-agent-networking-organization-setup.md).
+ To review permissions and data handling, see [Security in AWS Ops Agent for networking](ops-agent-networking-security.md).