Connecting an Environment

Pair the DMM Infinity agent in your application with your workspace.

Last updated:

An environment is a Mendix application running the DMM Infinity agent, paired with your workspace. You start the pairing from the agent inside the application and approve it in DMM Infinity. Install the agent first; see the install guide.

How Pairing Works

  1. In your application, open the agent's Agent Configuration page and select Pair Agent. DMM Infinity opens in a new browser tab. Sign in if it asks you to.
  2. DMM Infinity shows an Agent Pairing Request dialog with the agent's details (see below).
  3. Type a name for the environment.
  4. Select Approve, or Decline to refuse the request.
  5. After you approve, the dialog says "Waiting for agent...", usually for a few seconds, then "Pairing successful". The environment now appears on the Environments page.
ℹ️Note

The pairing finishes through a pop-up window, so your browser must allow pop-ups for DMM Infinity. If it blocks the window the dialog says "Popup blocked"; allow pop-ups and select Retry.

An agent keeps one pairing at a time.


The Pairing Request Dialog

The dialog lists what the agent reports about itself:

  • App URL: the address of your application
  • Project Name: the name of your application project
  • Model Version, Runtime Version and Project ID, when the agent provides them
  • Environment Type: Development or Production, when the agent provides it

Below the details, Environment Name is the name used for the environment everywhere in DMM Infinity. It must be 3 to 100 characters, using letters, numbers, spaces, periods, hyphens and underscores.

💡Tip

Name an environment for its purpose, for example "Development", "Acceptance" or "Production", and keep the convention the same across your team.


After Pairing

A paired agent keeps in touch with DMM Infinity. It reports its health, supplies the entity list that the pipeline builder shows, and carries out the actions of a run. A newly paired environment can read Unknown or Unhealthy for a while: select the environment and use Test Connection. See Managing Environments.

Connecting More Than One Environment

A Copy action needs a source and a target environment, so connect at least two. Repeat the install and pairing steps for each. Both must be on the same platform, which today means Mendix.


Troubleshooting

The pairing window does not open

Check that your browser allows pop-ups for DMM Infinity. The dialog shows "Popup blocked" when it did not open; allow pop-ups and select Retry.

The dialog says "Pairing Failed"

The dialog shows the message the agent reported. Read it, fix what it names, then select Pair Agent again in your application.

The dialog says "Could not confirm the pairing"

The agent closed without reporting a result. Open the Environments page and look for the environment. If it is there, the pairing worked.

The environment shows Unhealthy or Unknown

Select Test Connection on the environment. If it stays Unhealthy, check that the application is running and can reach DMM Infinity. See Managing Environments.