Skip to main content
Integrate Autosana into your CI/CD pipeline with our GitHub Action to automatically upload and test your builds with every commit. Supports iOS, Android, web, and Chrome-extension platforms.
Autosana GitHub Action uploading a build
Add our MCP Server to help with setting up your CI/CD pipeline.

Step 1: Choose Your Platform

Select your platform to see the relevant setup instructions:

iOS / Android

Mobile app builds (Expo, Fastlane, native)

Web

Web apps (Vercel, Netlify, custom deployments, etc.)

Chrome Extension

Manifest V3 extension zip builds

Mobile Setup

Choose Your Build Tool

Expo EAS

React Native with Expo’s build service

Fastlane

Native iOS/Android builds with Fastlane

Other

Gradle, Flutter, or custom builds

Step 2: Set Secrets

Go to your repository Settings → Secrets → Actions and add these secrets. See the GitHub Secrets docs for help.

Required for All

string
required
Your Autosana API key for uploading builds. Get it from the welcome quickstart or Settings → Integrations.

Required for Expo EAS

string
Your Expo access token for EAS builds. Get it from Expo account settings.

Step 3: Set up your Github Workflow with the Autosana Github Action

Create a .github/workflows/autosana-ios.yml and/or .github/workflows/autosana-android.yml file in your repository. Examples are provided below to get started.
For more specific build instructions by framework, check out our App Build Guide for detailed instructions on creating builds for iOS and Android.
Add this step to your existing GitHub workflow after your build step:
Required Parameters:
  • api-key: Your Autosana API key (from secrets)
  • bundle-id: Your app’s bundle ID (e.g., com.company.app)
  • platform: Either ios or android
  • build-path: Path to your build artifact
Optional Parameters:
  • name: Display name for your app (e.g., “My iOS App”). Updates existing app name if different.
  • environment: Name of the environment to associate this app with (e.g., staging, production). See Using Environments below.
  • variables: Key-value variables to attach to the uploaded build. Available in flow instructions via ${env:KEY}. Use KEY1=VALUE1,KEY2=VALUE2. See Build Variables.
  • suite-ids: Comma-separated suite UUIDs to run after upload (e.g., uuid1,uuid2).
  • flow-ids: Comma-separated flow UUIDs to run after upload (e.g., uuid1,uuid2).
  • labels: Comma-separated label names to run after upload (e.g., smoke,critical). Runs every suite and flow carrying any of the labels — resolved at run time, so CI config never changes as coverage grows. See Labels API.
  • dependencies: For direct web runs only, a JSON array overriding the web app’s default Chrome extension loadout. Omit it to inherit defaults, use '[]' for no extensions, or provide extension app UUIDs and optional build pins. Requires suite-ids, flow-ids, or labels.
  • enable-ios-keychain-access-group-remapping: iOS .ipa only. Set to true if cloud re-signing breaks Team-ID-prefixed Keychain access groups. The preference is saved on the app, so future IPA uploads can omit it; set it to false to disable.

Github Action Workflow Examples

Configure eas.json

Add this profile to your eas.json for iOS simulator builds:
eas.json

GitHub Workflow

Important: Replace YOUR_BUNDLE_ID with your app’s bundle ID.
.github/workflows/autosana-eas-ios.yml

Chrome Extension Setup

Build or package the unpacked Manifest V3 extension directory as a .zip, then upload it like a mobile build:
The first upload creates the extension; later uploads with the same bundle-id create new versions and make the newest build active. Extension apps are organization-wide and do not use environment. The zip must contain manifest.json at its root or inside one top-level folder. Only Manifest V3 is supported. Limits are 500MB compressed, 2GB expanded, and 25,000 entries. After upload, attach the extension to a web app in the Autosana Apps page. CI-triggered tests inherit that app’s default extensions.
Chrome extension upload steps cannot trigger tests directly. Do not add suite-ids, flow-ids, or labels to a platform: chrome-extension step. Upload and attach the extension first, then run tests in a separate platform: web Action step using the web app’s default extensions or a dependencies override.

Web Setup

For web applications, you can register a URL (such as a preview deployment) for testing. This is useful for testing Vercel, Netlify, or other preview deployments on every PR.

Parameters

Required Parameters for Web:
  • api-key: Your Autosana API key (from secrets)
  • platform: Must be web
  • app-id: A unique identifier for your web app (lowercase, alphanumeric with hyphens, e.g., my-web-app)
  • url: The URL to test (e.g., your preview deployment URL)
Optional Parameters:
  • name: Display name for your web app (e.g., “My Web App”). Updates existing app name if different.
  • environment: Name of the environment to associate this app with (e.g., staging, production). See Using Environments below.
  • variables: Key-value variables to attach to the registered build. Available in flow instructions via ${env:KEY}. Use KEY1=VALUE1,KEY2=VALUE2. See Build Variables.
  • suite-ids: Comma-separated suite UUIDs to run after upload (e.g., uuid1,uuid2).
  • flow-ids: Comma-separated flow UUIDs to run after upload (e.g., uuid1,uuid2).
  • labels: Comma-separated label names to run after upload (e.g., smoke,critical). Runs every suite and flow carrying any of the labels — resolved at run time, so CI config never changes as coverage grows. See Labels API.

Basic Usage

Override Chrome Extensions for a Web Run

The dependencies input controls the extension loadout only for flows, suites, or labels triggered directly by this Action:
Each string is an extension app UUID. Object entries use app_id and may add app_build_id to pin an exact build. The input must be a valid JSON array and is rejected for iOS, Android, and Chrome extension uploads.

Web Workflow Examples

For Vercel deployments using the GitHub integration (OAuth), use the wait-for-vercel-preview action to get the preview URL:
.github/workflows/autosana-web-vercel.yml
The wait-for-vercel-preview action requires the permissions block shown above to access deployment information. Without these permissions, you may see “Resource not accessible by integration” errors.
The app-id must be lowercase alphanumeric with hyphens only (e.g., my-web-app, staging, preview-app-123). This identifier is used to track your web app across deployments.

Step 4: What Happens Next?

Once you’ve set up our CI/CD integration:
1

Run flows directly (optional)

Add labels, suite-ids, or flow-ids to your action config to trigger flows immediately after upload. Labels are the low-maintenance option: label your suites and flows once, and the action runs whatever currently carries them. The action will wait for all flows to complete and report results inline — failing the job if any flows fail.
2

Configure automations

Alternatively (or additionally), set when flows run in your Automations page to run flows on a schedule or trigger.
3

View test results

Check your test runs in the Runs page.

Need Help Setting Up?

If you’re using Claude Code or another AI agent, you can add our MCP server to help automate the setup process. The MCP server can:
  • Set up your CI/CD pipeline automatically
  • Build your app for iOS or Android
  • Find your app’s bundle ID
  • And more!
Learn more at our MCP Server documentation.

Instructions for AI Agents Using the Autosana MCP (humans, you can ignore this!)

If you are an AI agent (such as Claude Code, Cline, or Cursor) using the Autosana MCP server to help set up CI/CD workflows, use the following prompt to guide your workflow generation.

Helpful Resources

App Build Guide

Learn how to build your app for our cloud

GitHub Action

View the source code and documentation for our GitHub Action

Get Your API Key

Copy your API key from Settings → Integrations