Skip to content

MOSIP-45483(nexus-ui): add step-by-step API key generation guide to Settings page - #95

Merged
mohanachandran-s merged 1 commit into
mosip:developfrom
mohanachandran-s:develop
Aug 21, 2026
Merged

MOSIP-45483(nexus-ui): add step-by-step API key generation guide to Settings page#95
mohanachandran-s merged 1 commit into
mosip:developfrom
mohanachandran-s:develop

Conversation

@mohanachandran-s

Copy link
Copy Markdown
Collaborator

Problem

The Settings page's API key field only had a bare link ("Get a free key at
console.groq.com") with no indication of what to actually do once there —
first-time users had to figure out the whole signup/key-creation flow on
their own, per provider.

Fix

Add a collapsible "How do I get a {Provider} API key?" walkthrough right
above the key input, using the same <details>/<summary> pattern
already used for the MCP setup guide further down the same page.

PROVIDER_META gains:

  • keySteps: string[] — numbered instructions (sign in → find API keys →
    create → copy → paste), tailored per provider's actual console UI
  • keyNote?: string — a one-line caveat where relevant (e.g. Anthropic/
    OpenAI require billing set up; Groq has a free tier)

Covers all four supported providers: Groq, Anthropic, OpenAI, xAI. The
guide swaps automatically when switching provider chips, since it reads
off the same PROVIDER_META[llmProvider] already driving the existing
key hint/link.

Testing

  • npx tsc -p tsconfig.app.json --noEmit — passes

🤖 Generated with Claude Code

New users landing on Settings had only a bare link ("Get a free key at
console.groq.com") and no sense of what to actually do once they got
there. Add a collapsible "How do I get a {Provider} API key?" walkthrough
above the key field, matching the existing <details>/<summary> pattern
already used for the MCP setup guide on the same page.

PROVIDER_META gains keySteps (numbered instructions) and an optional
keyNote (free-tier vs billing-required) per provider, covering all four
supported providers: Groq, Anthropic, OpenAI, xAI. The guide swaps
automatically when the user switches provider chips, since it reads off
the same PROVIDER_META[llmProvider] already driving the key hint/link.

Signed-off-by: Mohanachandran S <mohanachandran.s@technoforte.co.in>
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b13dddf8-bcc7-4022-9c24-02f0f409db46


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mohanachandran-s mohanachandran-s changed the title feat(nexus-ui): add step-by-step API key generation guide to Settings page MOSIP-45483(nexus-ui): add step-by-step API key generation guide to Settings page Aug 19, 2026
@mohanachandran-s
mohanachandran-s merged commit db76927 into mosip:develop Aug 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants