The EDB Postgres AI agent authenticates with Hybrid Manager (HM) using a machine user account and access key. You need to create this user before configuring the agent, whether you're setting up monitoring or migration assessment.
Creating a machine user
- Select your profile icon in the upper-right corner.
- Select User Management > Add New User.
- Enter a name for the new user.
- Optionally, enter an email address.
- Select Create Access Key. Enter an Access Key Name and an Expiry time.
- Select Add User.
- Store the access key safely — you won't be able to retrieve it again. Select Key stored safely.
Assigning the estate ingester role
- Select the Projects tab and select the project from which you want to monitor or assess the database.
- Select Users in the left navigation and locate the machine user you just created.
- Select the edit button (pen icon) for the user entry.
- Select Assign Roles.
- On the Assign Project Roles window, select estate ingester.
- Select Submit.
Store the access key in an environment variable on the machine running the agent so the agent can access it at runtime:
export BEACON_AGENT_ACCESS_KEY="baak_your_key_here"