AI Agent API to API auth

Hi, I’m a new dev in the IT field, so excuse any mistakes that I might have made in the following question.

Currently, the project that I’m involved in requires a method to authenticate and authorize a support AI agent API to let it access the functionalities of another API managing a DB on another server.

Initially, a user logs into the app using Okta auth the usual way(as given in the examples). The AI agent is on standby to help the user achieve the intended goal by suggesting options from previously accomplished goals. For this, the AI agent has to access the DB to find best match, and it is in this part that the auth is required. I was wondering if there are any good ways of achieving this using Okta?

Thanks