> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# App AI

> Set the default AI provider for all AI-powered features inside the apps your builders create

export const CardGrid = ({cards, compact}) => {
  if (!cards || !Array.isArray(cards)) {
    return null;
  }
  return <div className={`card-grid${compact ? " card-grid-compact" : ""}`}>
      {cards.map((card, index) => {
    const hasDescription = card.description;
    const hasImage = card.image;
    const isImageOnly = hasImage && !hasDescription;
    return <a key={index} href={card.href} className={`card-grid-item ${isImageOnly ? 'card-grid-item-centered' : ''}`}>
            {card.image && <img src={card.image} alt={card.title} className="card-grid-image" />}
            <h3 className="card-grid-title">{card.title}</h3>
            {card.description && <p className="card-grid-description">{card.description}</p>}
          </a>;
  })}
    </div>;
};

## Overview

Builders use AI across every type of app they create. For example, drafting justifications for approval workflows, summarizing support tickets, generating images for product catalogs, transcribing call recordings, classifying inbound requests, and more. App AI lets administrators set the provider and model that powers all of these features across the entire organization, so builders get instant access without configuring anything themselves.

<Info>
  This is separate from [Clark's inference](/admin/superblocks-on-aws/inference), which controls the AI that **Clark** uses to build apps during development. App AI controls where **apps** run inference when end users interact with AI-powered features in production.
</Info>

| Setting       | Controls                                 | Who is affected             |
| ------------- | ---------------------------------------- | --------------------------- |
| **Inference** | Clark's inference during app development | Builders prompting Clark    |
| **App AI**    | Runtime AI inside deployed apps          | End users of published apps |

## Supported AI integrations

App AI can route each modality through any of your connected AI integrations. Connect one in the [Integrations library](/integrations/integrations-library/index), then select it as the default provider for a modality.

<CardGrid
  compact
  cards={[
{
  title: "OpenAI",
  image: "https://integrations.superblocks.com/img/openai_logo.png",
  href: "/integrations/integrations-library/openai"
},
{
  title: "Anthropic",
  image: "https://integrations.superblocks.com/img/anthropic.png",
  href: "/integrations/integrations-library/anthropic"
},
{
  title: "Snowflake Cortex",
  image: "https://integrations.superblocks.com/img/snowflake.png",
  href: "/integrations/integrations-library/snowflake-cortex"
},
{
  title: "Gemini",
  image: "https://integrations.superblocks.com/img/gemini.png",
  href: "/integrations/integrations-library/gemini"
},
{
  title: "Custom AI proxy",
  image: "https://integrations.superblocks.com/img/restapi.png",
  href: "/integrations/integrations-library/rest-api"
},
{
  title: "Cohere",
  image: "https://integrations.superblocks.com/img/cohere.png",
  href: "/integrations/integrations-library/cohere"
},
{
  title: "Fireworks AI",
  image: "https://integrations.superblocks.com/img/fireworks.png",
  href: "/integrations/integrations-library/fireworks"
},
{
  title: "Groq",
  image: "https://integrations.superblocks.com/img/groq.png",
  href: "/integrations/integrations-library/groq"
},
{
  title: "Mistral AI",
  image: "https://integrations.superblocks.com/img/mistral.png",
  href: "/integrations/integrations-library/mistral"
},
{
  title: "Perplexity",
  image: "https://integrations.superblocks.com/img/perplexity.png",
  href: "/integrations/integrations-library/perplexity"
},
{
  title: "Stability AI",
  image: "https://integrations.superblocks.com/img/stabilityai.png",
  href: "/integrations/integrations-library/stabilityai"
}
]}
/>

## How it works

### 1. Admin sets the default provider

In **Organization Settings**, an administrator configures the AI integration and model that all apps should use by default. This includes the provider endpoint and authentication credentials.

### 2. Configure per modality

Administrators can select a different integration and model for each AI modality:

| Modality             | Example use cases                                     |
| -------------------- | ----------------------------------------------------- |
| **Text generation**  | Drafting content, summarization, classification, chat |
| **Voice**            | Transcription, text-to-speech                         |
| **Image generation** | Creating visuals, diagrams, thumbnails                |

This lets you optimize for cost and capability - for example, routing text generation through a cost-efficient model on your AI gateway while using a specialized provider for image generation. You can also connect to your own custom AI gateway for centralized policy and model management.

### 3. Builders get AI capabilities automatically

When a builder adds an AI-powered feature to their app — for example, a "Generate with AI" button that drafts a rationale or summarizes data — the feature automatically uses the organization's default for that modality. The builder does not need to select a model or configure credentials.

### 4. End users trigger inference at runtime

When an end user clicks a button or triggers a feature that calls the AI provider, the request goes directly to the configured provider. For example, if the text generation default is set to Amazon Bedrock running Claude, every text AI interaction in every published app routes through Bedrock.

## What this means for your organization

* **One configuration, every app**: Set the provider once per modality and every AI-powered feature across all apps inherits it
* **Cost control per modality**: Choose cost-efficient models for high-volume text generation and specialized models for image or voice
* **Builders stay focused**: No need for individual builders to manage API keys or select models
* **Inference on your terms**: Runtime AI calls go to your provider, burning down your existing commitment
* **Consistent governance**: All AI features in all apps are routed through governed endpoints you control
