This guide walks you through adding authentication, social login, and platform connections to a Next.js application in under 5 minutes.
Prerequisites
Go to the dashboard and create a new application. Each app gets its own isolated key pair and user pool — keep staging and production fully separate from day one.
Create an applicationAfter creating your application, copy the Publishable Key from the app card and add it to your environment file. This key encodes your API URL and is safe to include in client-side code.
In your app settings, add every origin your app runs at. Without this step, browsers block cross-origin auth requests and sign-in silently fails.
http://localhost:3000 for local dev and your production domain (e.g. https://yourdomain.com).Install the React SDK, then wrap your root layout with VaultixProvider. This makes the authenticated session available to every component in your app.
Drop <SignIn /> anywhere to add a full sign-in form — email, password, and all OAuth providers. Once authenticated, use connectPlatform to connect social accounts for posting.
What's included