Back to blog
Developer Tutorials May 14, 2025 6 min read

Getting Started with Nexbic Auth SDKs

AC

Alex Chen

Developer Advocate

Authentication Made Simple

Nexbic provides SDKs for all major frontend frameworks. In this guide, we'll cover React, Vue, and Svelte integrations, showing how to add authentication to your app in minutes.

Installation

Choose your framework and install the appropriate SDK:

npm install @nexbic/sdk-react
		npm install @nexbic/sdk-vue
		npm install @nexbic/sdk-svelte

Basic Setup

Wrap your application with the Nexbic provider component and configure it with your project's public key. The SDK handles token management, session refresh, and user state automatically.

Authentication Flows

Our SDKs support multiple authentication flows: email and password, magic links, OAuth providers (Google, GitHub, Apple), and passkeys. All flows work with a single unified API.

Protecting Routes

Use the built-in route guards and components to protect pages. Unauthenticated users are redirected to your login page automatically.

Next Steps

Check out the SDK reference documentation for advanced usage including MFA, session management, and user profile customization.

Subscribe to our newsletter

Get the latest posts delivered to your inbox.