{% extends "portal/base.html" %} {% block title %}Settings{% endblock %} {% block content %}

Account Settings

Manage your provider account details.

{% if success %}
{{ success }}
{% endif %} {% if error %}
{{ error }}
{% endif %} {# ── Profile ── #}

Profile

{# ── Account Info ── #}

Account Info

Email: {{ provider.email }} {% if provider.verified %} Verified {% else %} Unverified {% endif %}
API Key: {{ provider.api_key_id or 'Not linked' }}
Member Since: {{ provider.created_at[:10] if provider.created_at else 'N/A' }}
{# ── AI Assistant API Token ── #}

AI Assistant API Token

Generate a token so your AI assistant (Claude, GPT, etc.) can access your provider data via API.

{% if new_token %}
Token generated: {{ new_token }}
Copy this now — it won't be shown again.
{% endif %} {% if has_pat %}
Token ID: {{ pat_key_id }}
Created: {{ pat_created }}
{% else %}
{% endif %}

Your AI can call: GET /api/v1/provider/dashboard, /provider/services, /provider/earnings, and more.

{# ── API Key Help ── #}

API Access

Your API key was generated when you registered. Use it with the Authorization: Bearer key_id:secret header to access the AgenticTrade API. See the API documentation for details.

{% endblock %}