How it works
- You open a PR
- Autosana analyzes the diff and selects relevant flows (editing or creating as needed)
- Flows run in parallel as your build completes
- Results are posted as a PR comment with videos and a GitHub Check
Setup
- Go to Settings > Integrations > GitHub and click Install GitHub App
- Select your GitHub account/organization and choose repositories
- Toggle E2E Autopilot per repo to automatically analyze and test PRs
If you aren’t an owner of your GitHub organization
Click Install GitHub App anyway. GitHub sends your request to an owner of the organization. When the owner approves it, GitHub brings them to Autosana. They sign in with GitHub, see which workspace asked and who asked, and click Confirm. They don’t need an Autosana account. Your repositories then appear in Settings. If an owner installed the app straight from GitHub, Autosana gives them a link to send you. Open it, and Settings > Integrations > GitHub shows Finish connecting GitHub. Click Link. If you aren’t an owner, Autosana asks one to confirm: click Copy owner link and send it to them. Each new copy turns off the previous link. Settings shows where a connection stands and what to do next:You need to be an admin of your Autosana organization to install the GitHub App, link it, retry, copy an owner link, or cancel a request.
Several workspaces in one company
Workspaces in the same company can share one GitHub App installation. In each workspace, go to Settings > Integrations > GitHub and click Install GitHub App, then pick the same GitHub organization. Each repository belongs to one workspace at a time.- In other workspaces lists repositories that another workspace in your company holds. It shows even before this workspace connects GitHub. Click Move here to bring one into this workspace. If this workspace isn’t connected yet, the move connects it to that repository’s GitHub organization. The repository’s synced tests leave the other workspace and re-sync here. Its run history stays in the other workspace. Build uploads from the other workspace then stop posting checks for that repository. A workspace connected to a different GitHub organization must disconnect before it can move the repository.
- Disconnect from this workspace stops this workspace using the installation. It is refused while code-managed tests or PR review are on for any of this workspace’s repositories, or while tests, suites or hooks come from one. If another workspace in your company still uses it, this workspace’s repositories move there. The app stays installed on GitHub.
- Uninstalling the app on GitHub removes it from every workspace.
Code-Managed Flows
Instead of authoring flows in the dashboard, you can define flows, suites, and hooks as files in your repository’s.autosana/ folder. Connect the repo in Settings > Integrations > GitHub; Autosana automatically syncs .autosana/ on every push to your default branch and previews changes on pull requests. Parse errors surface as line annotations on the Autosana - Code-Managed Flows GitHub check, and the resulting flows are read-only in the dashboard. See Code-Managed Flows.
@autosana
Tag@autosana in a PR comment on any connected repository — no toggle needed. Ask questions, request specific tests, re-run failures, or adjust instructions. The agent responds as a PR comment.