Getting started

Connect GitHub and pick a repository

Install the FlowSprite GitHub App, choose the private repository that mirrors your org's metadata, and run the first sync.

Updated

On the Get started page, choose Connect GitHub and install the FlowSprite GitHub App on your personal account or your GitHub organization. Then pick, or create, a private repository for each Salesforce org. FlowSprite mirrors the org's metadata into it as files, and changes reach the org as pull requests on that repository.

What gets mirrored

The mirror holds your org's metadata: its setup, such as objects, fields, layouts, validation rules, flows and code. It does not hold your records. A sync reads the org's live setup and commits it to the repository.

Install the GitHub App

  1. Choose Connect GitHub on the Get started page, or Add GitHub Account under GitHub Accounts in the sidebar.
  2. On GitHub, pick the account or organization, and whether FlowSprite may see all repositories or only the ones you select.
  3. Back in FlowSprite, the account appears under GitHub Accounts with a User or Organization badge.

A personal (User) account needs one more step before FlowSprite can create a repository in it: choose Authorize repo access on the Get started page (or Authorize for repo creation on the account's card).

Signing up with GitHub is not the same as installing the app. Sign-in proves who you are; the app gives FlowSprite access to repositories.

Pick the repository

  1. Open Salesforce Orgs in the sidebar.
  2. On the org's card, open the repository picker (Select repo) and choose a repository, or create a new one by naming it and picking the GitHub account.
  3. Confirm. If the repository has no sfdx-project.json, FlowSprite adds one that declares force-app/ as the source directory. An existing sfdx-project.json is left as it is.

Keep the repository private: FlowSprite only mirrors into private repositories, because a public repository's build logs can be read by anyone. Each org binds to one repository, and binding a new one replaces the old binding. A repository you just created may need Refresh on the Salesforce Orgs page before it shows up.

Run the first sync

Choose Sync Now on the org's card. Syncs are incremental, with a full re-read from time to time or whenever you ask for one. Cancelling a sync leaves the repository at whatever was committed so far.

To sync every day without asking, turn on Daily scheduled sync on the org's card.

A sync commits straight to the mirror without a pull request; the mirror is a copy of what the org already holds. Changes you propose go the other way, as pull requests. See Make changes sandbox-first.

Stuck? See GitHub won't connect? Common fixes, or Fix a sync that fails or never finishes.

Next step

Connect your AI assistant so it can read the org and propose changes as pull requests.

Back to the help center