iOS App

Settings & AI

Askforce supports two AI modes — managed (default) and BYOAI (Bring Your Own AI key). Choose your provider, pick a model, and control how the AI processes your Salesforce data.

AI mode

Go to the Settings tab (gear icon) to configure AI preferences. There are two modes:

ModeWho provides the AICost
ManagedAskforce (included in your plan)Included
BYOAIYour own OpenAI or Anthropic keyBilled by provider

Managed mode

In managed mode, Askforce handles the AI calls using its own API keys. This is the default for all plans. Your queries count against your plan's daily limit.

Managed mode uses Claude Haiku by default — no configuration needed.

BYOAI mode

BYOAI (Bring Your Own AI) lets you use your own OpenAI or Anthropic API key. Your queries are billed directly by the AI provider at their standard rates, not counted against your Askforce daily limit.

ℹ️
BYOAI mode is available on Professional and Enterprise plans. Your org admin controls which providers and models are allowed.

Setting up BYOAI

  1. Open Settings → AI Mode and toggle to BYOAI
  2. Select your provider: OpenAI or Anthropic
  3. Tap the API key field and enter your key
  4. Select a model from the list

You can enter keys for both providers independently — switching between providers just changes which key is active. Keys are stored separately for each provider.

⚠️
If you select a provider but have not entered an API key for it, a warning will appear in Settings and all queries will fail until a key is provided.

Choosing a model

The model picker only shows models for your currently selected provider. Switching provider resets the model to the first available option for that provider.

ProviderModelCharacteristic
OpenAIGPT-4oBest overall accuracy
OpenAIGPT-4o MiniFast, lower cost
OpenAIo3-miniStrong reasoning
AnthropicClaude Opus 4.6Best reasoning
AnthropicClaude Sonnet 4.6Balanced speed and quality
AnthropicClaude Haiku 4.5Fastest, lowest cost

For most users, Claude Sonnet 4.6 or GPT-4o offer the best balance of speed and accuracy for complex queries.

API key storage

Your API keys are stored only on your device in the iOS Keychain — the same secure encrypted storage used for Salesforce tokens. Keys are never sent to Askforce servers and never leave your device except in direct calls to the AI provider.

To remove a key, clear the API key field in Settings and save. The key is immediately deleted from the Keychain.