Skip to main content

Overview

This guide will help you integrate SuggestKit into your mobile app quickly. Choose your platform and start collecting user feedback with native UI components!

Step 1: Create Your Account

  1. Visit SuggestKit Dashboard
  2. Create your account with email or social login
  3. Verify your email address
  1. Click “Create Project” in the dashboard
  2. Give your project a name (e.g., “My App Feedback”)
  3. Copy your project’s API key - you’ll need it for integration

Step 2: Choose Your Mobile Platform

Step 3: SwiftUI Integration

Installation

Add SuggestKit to your Xcode project using Swift Package Manager:
https://github.com/suggestkit/suggestkit-swift

Basic Setup

import SuggestKit
import SwiftUI

@main
struct MyApp: App {
    init() {
        // Initialize SuggestKit with your public API key
        SuggestKit.configure(apiKey: "your_public_api_key_here")
    }
    
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}

Set Current User

// Set the current user (typically after login)
SuggestKit.setUser(
    id: "user_123",
    email: "[email protected]",
    customId: "your_internal_user_id"
)

Show Feedback UI

struct ContentView: View {
    @State private var showFeedback = false
    
    var body: some View {
        VStack {
            Button("Send Feedback") {
                showFeedback = true
            }
        }
        .sheet(isPresented: $showFeedback) {
            SuggestKitView()
        }
    }
}

Step 4: Flutter Integration (Coming Soon)

Flutter support is coming soon! For now, start with our SwiftUI SDK for iOS development. We’re working hard to bring you the same great experience on Android with Flutter. Join our waitlist to be notified when it’s ready: For now, skip to Step 5 to test your iOS integration.

Step 5: Test Your Integration

  1. Run your app and navigate to the feedback UI
  2. Submit a test suggestion as a real user would
  3. Try voting on suggestions to test the interaction
  4. Check offline behavior by disconnecting internet
  1. Log into your SuggestKit Dashboard
  2. Navigate to your project
  3. Check that users appear in the Users section
  4. Verify suggestions are listed with correct vote counts
  5. Test status updates from the dashboard
API Key: Use your public API key (starts with public_), not the secret keyUser Setup: Call setUser() before showing feedback UINetwork: SDKs handle offline gracefully - suggestions sync when onlineiOS Permissions: No special permissions needed - works out of the box

Next Steps

Need Help?

Have questions? Reach out to our team: