Create a new app origin

In the app development process, there are situations where it can be highly beneficial to push changes to multiple app origins. This is especially useful when managing different versions of an app, such as maintaining both a testing and a production app.

To create a new app origin:

1

Clone the production app to a local workspace.

2

Create a testing app in Make and name it <App Label> Testing.

3

Go to the makecomapp.json file in the local app repository. Locate the origins array of the collection and enter a new item by copying the code below and editing the values as instructed under the code.

"origins": [
    { /* --- Existing origin --- */ },
    {
        "label": "Testing",
        "baseUrl": "https://eu1.make.com/api",
        "appId": "my-first-app-test",
        "appVersion": 1,
        "apikeyFile": "../.secrets/apikey"
    }
]
  • label - the label of the local origin

  • baseUrl - the URL to the origin's zone

  • appId - the name of the app

circle-exclamation
4

Save the changes in the makecomapp.json file.

You have created a new app origin.

Last updated