# Developer quickstart

> Register an app in the developer console and add Sign in with Identvia to a PHP site with the identvia-php SDK.

_Source: https://id.identvia.com/help/developers/developer-quickstart_

1. **Register your app.** Open the [developer console](https://id.identvia.com/developers/apps), press **New app**, choose *Server-side (confidential)* and add your callback URL as a redirect URI. Copy the client secret straight away: it's shown once.
2. **Install the SDK.** `composer require identvia/identvia-php`, or download the zip with `vendor/` included if your host has no SSH.
3. **Start sign-in** with `$identvia->redirectToSignIn()` and **handle the callback** with `$identvia->handleCallback()`. The SDK checks the state, exchanges the code with PKCE, and verifies the ID token's signature, issuer, audience, expiry and nonce.
4. Use `sub()` as the user's ID, not their email.

Your first environment is *Development* and allows `http://localhost`. Add a *Production* environment with your real `https://` callback when you go live.

The full walkthrough is in the [Quickstart](https://id.identvia.com/developers/docs/quickstart) and the [PHP SDK guide](https://id.identvia.com/developers/docs/php). If you use another language, any certified OpenID Connect library works: see [OpenID Connect](https://id.identvia.com/developers/docs/oidc).
