Skip to main content

Basic Configuration

Add this to your App file (typically App.swift):

API Key Setup

  1. Get your API key from the SuggestKit Dashboard
  2. Use your public key (starts with public_) - never use the secret key in mobile apps
  3. Store securely in your app’s configuration
Never expose your secret API key in client-side code. Only use the public key for mobile SDKs.

Environment Configuration

Production Environment

Sandbox Environment

Use sandbox for testing and development:

Advanced Configuration

User Management

Set Current User

Call this after user authentication:

Clear User Session

Configuration Validation

Verify your setup with debug mode:

Error Handling

Handle configuration errors gracefully:

Next Steps

📱 Basic Usage

Start showing feedback UI

🎨 Customization

Style the components