Configure Altimate platform credentials for datamate and API access
Guide the user through configuring their Altimate platform credentials.
Check existing config: Read ~/.altimate/altimate.json. If it exists and is valid, show the current config (mask the API key) and ask if they want to update it.
Gather credentials: Ask the user for:
https://api.myaltimate.com)megatenant)https://mcpserver.getaltimate.com/sse)Write config: Create ~/.altimate/ directory if needed, then write ~/.altimate/altimate.json:
{
"altimateUrl": "<url>",
"altimateInstanceName": "<instance>",
"altimateApiKey": "<key>",
"mcpServerUrl": "<mcp-url>"
}
Then set permissions to owner-only: chmod 600 ~/.altimate/altimate.json
Validate: Call the datamate_manager tool with operation: "list" to verify the credentials work. Report success or failure to the user.