AI integration overview

Setapp provides a unified AI platform that gives apps access to multiple AI providers through a single integration layer. Instead of integrating directly with OpenAI, Anthropic, Google Gemini, or other providers, your app connects to Setapp’s AI infrastructure. Setapp handles, credit management, and provider routing, so you can focus on building AI-powered features.

The integration method depends on your platform:

macOS and iOS apps > SetappAI SDK

macOS and iOS apps integrate with Setapp AI using the SetappAI SDK, which is a part of the Setapp Framework. The SDK provides a native Swift API and automatically handles:

  • OAuth authentication with the ai.openai scope
  • Credit usage and billing
  • Communication with the Setapp AI Gateway

The SDK is recommended for Apple platform apps that need a seamless, native integration with minimal backend work.


Web apps and browser extensions > Setapp AI Gateway

Web apps and browser extensions integrate directly with the AI Gateway API. The AI Gateway is an OpenAI-compatible HTTP API that:

  • Provides access to multiple AI providers through a single endpoint
  • Uses Setapp OAuth tokens for authentication
  • Manages credit usage centrally
  • Supports streaming, structured output, and tool use

This approach is recommended for server-side apps, web platforms, and browser extensions.