Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.prove.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this guide when you already have an application and need Prove packages and Sandbox configuration in the repo. Complete server steps for any backend that calls Prove Platform APIs. Add one client tab (Web, Android, or iOS) only if your product runs possession (Prove Key, Mobile Auth, OTP, and so on) in that client. For a first bearer token and curl to Prove without an SDK, use Get started with Prove API authentication first.

Prerequisites

  • Sandbox credentials — OAuth client ID and client secret from the Developer Portal for the project you are integrating.
  • Tooling — Language runtime and package manager for your stack (for example Go modules, npm, Gradle/Maven, .NET CLI, CocoaPods).
1

Install the server-side SDK

Add the Prove server SDK for your language using your normal dependency workflow.
# The Go library is hosted on GitHub so you can use this command to import it
# to your Go application.
go get github.com/prove-identity/prove-sdk-server-go

# Ensure you import the SDK in your code like this:
import (
    provesdkservergo "github.com/prove-identity/prove-sdk-server-go"
    "github.com/prove-identity/prove-sdk-server-go/models/components"
)
2

Configure Sandbox credentials in code

Initialize the SDK with your Sandbox client ID and client secret from environment variables or your secrets store (see Secure API credentials).
clientID := os.Getenv("PROVE_CLIENT_ID")
clientSecret := os.Getenv("PROVE_CLIENT_SECRET")

proveEnv := "uat-us" // Use UAT in US region.

client := provesdkservergo.New(
	provesdkservergo.WithServer(proveEnv),
	provesdkservergo.WithSecurity(components.Security{
		ClientID:     provesdkservergo.String(clientID),
		ClientSecret: provesdkservergo.String(clientSecret),
	}),
)
Replace uat-us with uat-eu if you are testing outside North America.
3

(Optional) Install the client-side SDK

Add a client SDK only when your UX runs Prove possession in the browser or native app. Pick one tab below.
# Run this command to install the package (ensure you have the latest version).
npm install @prove-identity/prove-auth@3.4.2
If you’re including the file from jsDelivr and using Content Security Policy headers, ensure you add https://cdn.jsdelivr.net/npm/@prove-identity/ to script-src, plus corresponding sha256-... or nonce-....

Verify your setup

  • Server — Project restores or builds with the new dependency; imports resolve with no version conflicts.
  • Credentials — At runtime, the client ID and secret your code reads match the Sandbox credentials from the Developer Portal for the intended region (uat-us vs uat-eu).
  • Client (if installed) — Package or pods install completes; for native apps, open the project in Xcode or Android Studio and confirm the Prove modules are linked.