This guide will walk you through the basic setup of KeyAuth in your application. We'll cover:
- Creating your first application
- Downloading the appropriate SDK
- Basic authentication implementation
- Testing your integration
Step 1: Create Application
First, you need to create an application in your KeyAuth dashboard:
- Login to your KeyAuth dashboard
- Click "Create Application"
- Enter your application name and description
- Copy the generated App Secret and Seller Key
Step 2: Download SDK
Download the appropriate SDK for your programming language:
Step 3: Basic Implementation
Here's a basic example of how to initialize KeyAuth in your application:
// C# Example using KeyAuth; var keyAuth = new KeyAuthApp("app_name", "app_secret", "app_version"); if (await keyAuth.Initialize()) { Console.WriteLine("KeyAuth initialized successfully!"); // Login user if (await keyAuth.Login("username", "password")) { Console.WriteLine("User logged in successfully!"); } }