# How to connect a marketplace app to a Pegasus project

> Connect marketplace apps like Scriv to Pegasus projects via GitHub integration with proper configuration matching and commit synchronization.

Follow these steps to connect a marketplace app to a Pegasus project. We’ll do this for \[scriv], but the process should be the same for other apps built on Pegasus.

First, [follow the getting started guide](https://www.saaspegasus.com/store/product/scriv/get-started/) to clone the repository and set up your own fork.

Next, create new Pegasus project for your app from [the projects page](https://www.saaspegasus.com/projects/). **You should choose the same config choices as the marketplace app**, which you can find in the `pegasus-config.yaml` file in the repository root.

You can also refer to [this screenshot](/images/scriv-pegasus-config.png) for how the configuration should look as of September, 2024.

Next, connect your Pegasus project to your Github repository:

1. From the project page, select “Get Code”.
2. On the “Push to Github” tab, click “Add a repo”.
3. Set the owner and name to the fork you created above. This should be your existing fork of Scriv, not a new repository.
4. Click “Add Repo”.

You will be prompted to authenticate with Github. If you haven’t already, you should set that up according to [the Github guide](https://docs.saaspegasus.com/github/#connecting-your-account).

After connecting your Github, you will be prompted to enter a commit ID according to the last Pegasus commit in the repository. It will look something like this:

![Set Commit](/_astro/scriv-set-commit.DlLeMv0R_B4zY0.webp)

In the “Commit id” field, enter the commit ID of the most recent Pegasus update, which you can get from the table below:

| Codebase            | Commit ID                                  | Pegasus Version | Last Updated |
| ------------------- | ------------------------------------------ | --------------- | ------------ |
| Scriv               | `dbee5f634503f9d37b061c7a682e59db3bfece06` | 2025.4.1        | April, 2025  |
| Translation Creator | `673e3cf37ffeb3472c0eedf3a38e924ee7a3c0ab` | 2025.3          | March, 2025  |

Enter the commit ID and click “Set Commit ID”.

Now you should be able to click “Submit Pull Request” and your Pegasus project will sync with your marketplace codebase. Once this completes you should have a Github pull request with a small number of changes. You may need to resolve conflicts on this pull request (when in doubt, accept the `main` branch changes). Once you have resolved all conflicts, merge the pull request.

Your marketplace is now connected to your Pegasus project! You can change settings, upgrade, and submit pull requests from Pegasus and they will go to your marketplace app repo.

If you have any questions or issues with this process, [get in touch via the support channels](https://www.saaspegasus.com/support/).