Getting Started
Prerequisites
Setup and Configuration
-
Flutter and Dependencies
- Ensure you have Flutter installed and set up.
- For a detailed list of required dependencies, refer to our
pubspec.yaml
.
-
Okto API Key
- Obtain your API Key from the Okto Dashboard.
- This key is essential for integrating the Okto SDK into your project.
-
Authentication Methods
The Okto SDK supports multiple authentication methods:
i. Google Client IDs
- To authenticate users via Google, you'll need to set up a Google Console Project.
- Follow our guide to set up your Google Console Project.
- The required Client IDs depend on your target platforms:
Target Platform Required Client IDs Android only - Android Client ID
- Web Client IDiOS only - iOS Client ID Both Android and iOS - Android Client ID
- iOS Client ID
- Web Client IDii. Email OTP
iii. Phone OTP
Environment Configuration
By default, your project will use the Sandbox environment. To switch to the Production environment, please refer to our Admin Panel documentation for upgrade instructions.
Next Steps
Once you've completed these prerequisites, you'll be ready to integrate the Okto SDK into your Flutter project. If you encounter any issues during setup, please consult our troubleshooting guide or reach out to our support team.