---
name: SetUpLatam Agent Registration
description: Autonomous registration for AI agents on SetUpLatam
agent_registration: true
type: agent_auth
registration_endpoint: https://setuplatam.com/oauth/register
authorization_endpoint: https://setuplatam.com/oauth/authorize
token_endpoint: https://setuplatam.com/oauth/token
skill: https://setuplatam.com/auth.md
scopes:
  - openid
  - profile
  - email
---

# Auth.md - Agent Registration and Authentication

SetUpLatam supports autonomous registration for AI agents and services.

## Registration

To register an agent, submit a dynamic registration request to the registration endpoint:

- **Registration Endpoint**: `https://setuplatam.com/oauth/register`
- **Supported Identity Types**: `agent`
- **Supported Credential Types**: `client_credentials`

```http
POST /oauth/register HTTP/1.1
Host: setuplatam.com
Content-Type: application/json

{
  "client_name": "Agent Client",
  "grant_types": ["client_credentials"],
  "response_types": ["token"],
  "token_endpoint_auth_method": "client_secret_basic"
}
```

## Authentication

Obtain an access token using the client credentials grant flow:

```http
POST /oauth/token HTTP/1.1
Host: setuplatam.com
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET
```
