Skip to content

Add an App

Before getting started with Capgo, make sure you have:

  • A Capacitor app installed and configured. Learn how to set up Capacitor
  • Node.js 20 or later installed
  • One of the following development environments:
    • macOS with Xcode (for iOS development) and/or Android Studio (for Android development)
    • Linux with Android Studio (for Android development)
    • Windows with Android Studio (for Android development)
  1. Create your account at https://capgo.app/register. signup screenshot

  2. Use the Init commands to get started

    Terminal window
    npx @capgo/cli@latest init [APIKEY]
    You will be presented with a series of questions. Provide the necessary answers to complete the automated setup.

  3. Deploy a live update

In case the init command doesn’t work for you, you can manually add an app.

  1. Connect the CLI to your account:

    Terminal window
    npx @capgo/cli@latest login [APIKEY]

  2. Add the app to your account with this command:

    Terminal window
    npx @capgo/cli@latest app add [APP_NAME]

  3. Install the plugin in your app:

    Terminal window
    npm i @capgo/capacitor-updater

  4. Configure the plugin in your capacitor.config

    {
    "plugins": {
    CapacitorUpdater: {
    "appId": "Your appID",
    "autoUpdate": "atBackground",
    "version": "1.0.0"
    }
    }
    }
    See all available options. This information will be inferred if not provided.

  5. Call the init method as early as possible in your app:

    import { CapacitorUpdater } from '@capgo/capacitor-updater';
    CapacitorUpdater.notifyAppReady();

  6. Deploy a live update

If you are using Add an App to plan native plugin work, connect it with Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives, and Capgo Native Builds for the product workflow in Capgo Native Builds.