Skip to main content
Full demand eligibility. Runs in a native app context. All four demand tiers serve, and tracking is automatic.
Adgentek ships as a Swift Package. Do not install via CocoaPods. If your project uses CocoaPods for other dependencies, add Adgentek as an SPM dependency separately.

Install

In Xcode: File, Add Package Dependencies, then enter:
https://github.com/Adgentek/adgentek-ios

Initialize

import Adgentek

@main
struct MyApp: App {
    init() {
        Adgentek.configure(token: "YOUR_PUBLISHER_TOKEN")
    }
}

Placement (SwiftUI)

AdgentekPlacement(query: userMessage, response: aiResponse)
A UIKit wrapper (AdgentekPlacementView) is available for UIKit codebases.

Verify

Use the debug logger (AdgentekLogger.level = .debug) and confirm successful init and serve requests, then an impression event on render.