Clerk Flutter SDK
Getting started

Install the SDK

Learn how to install and configure the Clerk Flutter SDK in your Flutter app.

Install the packages

There are two ways to add the Clerk packages to your Flutter app.

Using the Flutter CLI (recommended)

flutter pub add clerk_flutter clerk_auth

Manually via pubspec.yaml

In your pubspec.yaml, add clerk_flutter and clerk_auth under dependencies, then run flutter pub get.

dependencies:
  clerk_flutter: ^<latest-version>
  clerk_auth: ^<latest-version>

Import the packages

You can now import the Clerk packages into your Flutter app.

import 'package:clerk_flutter/clerk_flutter.dart';
import 'package:clerk_auth/clerk_auth.dart';

On this page