SDK

Add Login with Proma and credits to any app in minutes.

The Proma SDK lets external apps integrate with Proma's OAuth, credits, and AI gateway. It ships as a single npm package with optional React bindings.

What's included

  • OAuth 2.0 PKCE flow — Login with Proma in any JavaScript or TypeScript app
  • Credits API — check balance and spend micro-credits programmatically
  • AI gateway — stream Gemini responses billed to the user's credit balance
  • React bindingsPromaProvider, usePromaAuth, and a drop-in LoginWithProma button

Sections

Guides