Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.

Sandbox Deployments

When working on any application, it is best practice to have a testing location—or sandbox—where you develop and tweak features before deploying them to end users. Once these updates have been sufficiently tested within a sandbox, rolling out those features to users typically involves transplanting data, metadata, and other configurations from the sandbox area to a production area, hence the phrase "deploy to production."

While Salesforce—and Nintex Apps for Salesforce by proxy—uses the concept of change set deployments to move from sandbox to production, Nintex Apps deployments follow a different process, as outlined below:

  1. Take note of or download the follow configurations from the source site.
  2. Retrieve Nintex Apps data locally from the sandbox site using the CLI.
  3. Deploy Nintex Apps data to the target site using the Nintex Apps CLI.
  4. Re-enter or upload credentials and users.

Prerequisites

  • Before beginning any deployment work, you'll first need two separate Nintex Apps sites, one to use a sandbox site and one to use as a production site. Register for these sites as you normally would, contacting your business representative to note one as a sandbox site.
  • Because you're working with two separate sites, it's helpful to have credentials for both easily accessible.
  • You must download and install the skuid command line interface (skuid CLI).

Installing skuid CLI

While this is a developer-centric tool, this document uses simpler commands to illustrate this process, including its installation. If you are a developer, you can find more detailed information within the CLI documentation.

Follow the instructions for your operating system below:

Manual Deployment Steps

While the Nintex Apps CLI application does most of the work in a sandbox deployment, there are several things within a Nintex Apps site that will not be transferred and must be manually recreated.

Authentication provider credentials and connection credentials

Important:  You connections will not work in your target site unless you complete the following steps.

skuid will recreate authentication providers and connections using most of the same metadata as a sandbox site, but essential credential information is not transferred for security reasons.

For both authentication and connections that require credentials (client IDs, client secrets, usernames, passwords), ensure that you have the necessary information available to re-enter on the target site. This may mean accessing configuration screens within your data system to obtain (or create) new credentials.

If utilizing OAuth authentication, which is very common for Nintex Apps connections, you must enter the appropriate callback URLs for your target site within any external data systems you'll be using. This involves opening each data system's app configuration page—for example Salesforce connected apps —and entering your additional callback URLs.

Users

With those steps out of the way, you're ready to retrieve your Nintex Apps data.

Retrieving Nintex Apps Data

Set Credentials

First, set credentials so you can access the source Nintex Apps site.

  1. Open the Terminal application. (When you do this, you'll likely be in your user folder /Users/your-name .)
  2. Set your source Nintex Apps site credentials by copying the following lines into a text editor and adding the appropriate information:
Copy
export SKUID_UN=username
export SKUID_PW=password
export SKUID_HOST=https://example.nintex.app
  1. After completing the information in Step 2, copy and paste the content into the Terminal window.
  2. Press Enter.

Create a File Folder

With credentials set, create a space to store Nintex Apps data on your computer.

  1. ( Optional ) If you'd prefer to store Nintex Apps data in a different folder, navigate to that folder by typing cd .

    Copy
    cd Documents
  2. Create a folder specifically for Nintex Apps data using mkdir , then navigate into the new folder by using the cd command with the new directory's name.

    If the folder's name contains spaces or other special characters, surround it with quotation marks. For the sake of simplicity, consider using hyphens instead of spaces:

    Copy
    mkdir my-skuid-site
    cd my-skuid-site

Retrieval

Now time to run the magic command:

Copy
skuid retrieve

It may take some time to download everything (depending on the size of your site). Once complete, you'll see the source site's Nintex Apps data in the folder you're working within.

While you won't need to do anything to these files, you can learn more information about what they are by reading the Object Structure section of our CLI documentation.

Deploying Nintex Apps Data

Once you have successfully retrieved Nintex Apps data, a single command is used to deploy it.

Note:  You must use the username, password, and host flags to set credentials matching the information for the target site.

  1. Set the target Nintex Apps site credentials by copying the following lines into a text editor and adding the appropriate information:

    Copy
    skuid deploy --username productionUsername --password productionPassword --host https://production-sandbox.skuidsite.com
  2. After entering your own credentials in Step 2, copy and paste the content into your Terminal window.

  3. Press Enter.

The Nintex Apps CLI will begin uploading the Nintex Apps data to your target site. This may take some time (depending on the size of your site).

After the deployment is complete, any Nintex Apps metadata in your retrieved folder will now exist in the target site.

For more information about the types of metadata the CLI retrieves

Final settings

  • While authentication providers and connections have been recreated in the target site, you must manually re-enter your credentials on each authentication provider and/or connection within Configure > Connections.

    • For each authentication provider, re-enter any shared credentials as well as any client secrets.
    • For each connection, re-enter any shared credentials.
  • Recreate any users that will be accessing the production site.

Troubleshooting

When working with two different sites, it's possible to incorrectly set a flag or encounter other errors. See the skuid CLI troubleshooting section for a list of possible error messages and potential solutions.