Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to Install a ServiceNow MID Server

HasanM
Tera Contributor

Installing a MID Server is one of the fundamental tasks when working with ServiceNow. While the process is straightforward, many people encounter issues during installation due to missing prerequisites or configuration errors.

To help make the process easier, I've put together a simple step-by-step guide along with a video walkthrough that demonstrates the complete installation process.

🎥 Watch the complete installation video:
https://youtu.be/b0lVt3QJA0E


How to Install a ServiceNow MID Server

Step 1: Verify Connectivity

Ensure that the MID Server host machine can access your ServiceNow instance. This connectivity is required to download and register the MID Server.

If the host machine does not have internet access, you can manually download and transfer the MID Server installer package.


Step 2: Create a MID Server User

Create a dedicated ServiceNow user account for the MID Server and assign the following role:

  • mid_server

This account will be used by the MID Server to authenticate with the instance.


Step 3: Download and Extract the MID Server

  • Download the appropriate MID Server archive for your operating system.

  • Extract the downloaded archive to a suitable location.


Step 4: Configure the MID Server

Navigate to the agent folder and open the config.xml file using a text editor.

Update the following parameters:

Instance URL

<parameter name="url" value="https://YOUR_INSTANCE.service-now.com"/>

MID Server Credentials

Update the following parameters with the MID Server user credentials:

  • mid.instance.username

  • mid.instance.password

MID Server Name

<parameter name="name" value="YOUR_MIDSERVER_NAME"/>

Proxy Configuration (Optional)

If your environment uses a proxy server, configure the proxy settings in the same file.


Step 5: Start the MID Server

Open Command Prompt as Administrator.

Navigate to the extracted MID Server directory and run:

start.bat

The MID Server will start and attempt to register with your ServiceNow instance.


Step 6: Validate the MID Server

In your ServiceNow instance:

MID Server → Select your MID Server → Related Links → Validate

If everything is configured correctly, the validation should complete successfully.


Conclusion

Following these steps should help you install and register a MID Server without any major issues.

I hope you find this guide helpful. If you have any questions or run into any challenges during the installation, feel free to leave a comment below. I'll be happy to help.

If this article helped you, please consider giving it a 👍 or sharing it with others in the ServiceNow community.

Thank you for reading, and happy learning!

0 REPLIES 0