

AWS Ops Agent for FinOps is in preview release and is subject to change.

# Adding the FinOps specialist to AWS Ops Agent

AWS Ops Agent can answer cost, spend, and billing questions by handing them to one of your FinOps agent spaces. Engineers working through an incident or a deployment can ask what the services they run cost without switching tools. FinOps practitioners keep using the FinOps web application for automations, reports, and the rest of their work.

This topic uses the following terms.

FinOps agent space  
The agent you create in the FinOps console, with its own roles, context files, memory, automations, and integrations. See [Creating an agent](creating-an-agent.md).

Agent Space  
The AWS Ops Agent resource that your team chats with. An Agent Space has its own role and settings in the AWS Ops Agent console.

FinOps specialist  
The setting on an Agent Space that connects it to one FinOps agent space. In the AWS Ops Agent console, it appears in the **Specialists** list as **AWS Ops Agent for FinOps**. When the specialist is added, AWS Ops Agent sends cost questions from that Agent Space to the connected FinOps agent space and returns its answer.

**Note**  
The FinOps specialist is available in preview and is subject to change. During the preview, AWS Ops Agent for FinOps is offered at no charge.

## How the connection works
<a name="connecting-to-ops-agent-how-it-works"></a>

The connection uses a FinOps agent space that you already have. AWS Ops Agent doesn't create one for you.
+ Answers come from the connected FinOps agent space and use its permissions and data scope. An account-scoped FinOps agent space answers for that account. An organization-wide FinOps agent space answers for every account in your organization. The accounts covered by the Agent Space don't change what the FinOps agent space can see.
+ When the FinOps specialist answers, AWS Ops Agent chat names the FinOps agent space it used.
+ If you ask a cost question in an Agent Space that has no FinOps specialist, AWS Ops Agent answers as it normally does and suggests adding the specialist.
+ The FinOps specialist doesn't change your AWS resources. It reads cost and usage data through the FinOps agent space's roles.
+ Conversations started from AWS Ops Agent chat appear in the FinOps agent space's conversation history and have the same data protection as other FinOps conversations. For more information, see [Data protection](data-protection.md).

## What you can do during the preview
<a name="connecting-to-ops-agent-limits"></a>

During the preview, the FinOps specialist supports chat. The following limits apply.
+ An Agent Space connects to one FinOps agent space. More than one Agent Space can connect to the same FinOps agent space.
+ The FinOps agent space and the Agent Space must be in the same AWS account and in the US East (N. Virginia) Region.
+ You add, change, and remove the FinOps specialist in the AWS Ops Agent console.
+ Automations, scheduled reports, tasks, generated report files, and context files stay in the FinOps web application. To set them up or review them, open the FinOps agent space's web application. For more information, see [Task management](task-management.md) and [Using the web application](how-do-i-interact-with-the-agent.md).
+ Slack and Jira integrations are separate for AWS Ops Agent for FinOps and AWS Ops Agent during the preview. FinOps automations and reports notify through the Slack and Jira integrations of the FinOps agent space. For more information, see [Enable Jira](jira-integration.md) and [Enable Slack](slack-integration.md).
+ Removing the FinOps specialist doesn't delete the FinOps agent space. Deleting a FinOps agent space in the FinOps console doesn't delete the Agent Space.

## Prerequisites
<a name="connecting-to-ops-agent-prerequisites"></a>
+ A FinOps agent space in the US East (N. Virginia) Region. To create one, see [Creating an agent](creating-an-agent.md). For an organization-wide agent space, see [Setting up organization-wide access and a delegated administrator](setting-up-organization-access.md).
+ An Agent Space in the same AWS account and Region.
+ Administrator permissions. Adding the specialist is an administrator task: your AWS Identity and Access Management (IAM) identity needs `finops-agent:ListAgentSpaces` and `finops-agent:GetAgentSpace`, which the Admin setup policy includes, plus the AWS Ops Agent permission to associate a service with the Agent Space. The Agent Space role also needs permission to send questions to the FinOps agent space; the AWS managed policy for AWS Ops Agent includes it. For details, see [Permissions for AWS Ops Agent](setting-up.md#setting-up-ops-agent-permissions).

## Adding the FinOps specialist to an Agent Space
<a name="connecting-to-ops-agent-add"></a>

You add the FinOps specialist in the AWS Ops Agent console. The following steps summarize the procedure. For the full procedure, including adding the specialist while you create an Agent Space, changing the connected FinOps agent space, and removing the specialist, see [FinOps specialist](https://docs.aws.amazon.com/devopsagent/latest/userguide/specialists-finops-specialist.html) in the *AWS Ops Agent User Guide*.

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

1. Choose the **Capabilities** tab. In the **Specialists** section, choose **Add** in the **AWS Ops Agent for FinOps** row.

1. If you don't have a FinOps agent space yet, choose **Create new**. The FinOps console opens in a new tab. Create the FinOps agent space as described in [Creating an agent](creating-an-agent.md), return to the AWS Ops Agent console, and choose **Refresh**.

1. For **FinOps agent space**, choose the FinOps agent space that should answer cost questions for this Agent Space. The list shows the FinOps agent spaces you can access, with the scope of each.

1. Choose **Add**.

To verify the connection, ask a cost question in the Agent Space's chat, for example, *"Why did my Amazon EC2 spend go up last month?"* The answer names the FinOps agent space that produced it.

To manage the FinOps agent space itself, choose **Manage in AWS Ops Agent for FinOps** in the AWS Ops Agent console, or open the FinOps console directly.