# MaintainX

## Overview

MaintainX helps you track your reactive maintenance, and preventive maintenance, and control the daily operations of your business.

## \*\*API Information \*\*

The Base URL used for the Maintainx connector is **<https://api.getmaintainx.com/v1>**. More information can be found on their main [API documentation (v1.0)](https://api.getmaintainx.com/v1/docs#tag/Work-Orders/paths/~1workorders/get) site.

## Authentication

Within the builder, click on the MaintainX connector to display the connector properties panel. Select the **Auth** tab and click on the **New authentication** button.
In the Tray.io authentication pop-up modal name your authentication in a way that will quickly identify it within a potentially large list. For example, whether it is a Sandbox or Production auth, etc.
Consider who/ how many people will need access to this authentication when choosing where to create this authentication ('Personal' vs 'Organisational').
![New authentication for MaintainX](https://tray.ai/documentation/images/connectors/service/maintainx/49jBQGcN2qHOQw2F13fb9k_image.png)
The next page asks you for your **API key** and **Environment** credentials.
![Authentication Fields.](https://tray.ai/documentation/images/connectors/service/maintainx/5I1JLvsDX3HuuRPIh100T1_image.png)
To get these fields, head to the MaintainX dashboard. Click on the settings icon at the bottom left corner. Click on **Integration.**
![Getting to the integration page.](https://tray.ai/documentation/images/connectors/service/maintainx/dFxXcrKYwiW17fQ9h2kt9_image.png)
![How to get to the integration page.](https://tray.ai/documentation/images/connectors/service/maintainx/7yL5Y0P6lMB6fgsmu9GKtM_image.png)
To create a new API key click on the **New Key** button, then enter a label for the API key then click on **Generate** button.

![How to generate an API key.](https://tray.ai/documentation/images/connectors/service/maintainx/1RWTl9AvqVbIPx9YJiqxms_image.png)
![How to generate an API key.](https://tray.ai/documentation/images/connectors/service/maintainx/2ciBjPQUtg1nbOfhWGJC0u_image.png)
Click on the\*\* Copy key\*\* button to copy the API key.
![Copying the API key.](https://tray.ai/documentation/images/connectors/service/maintainx/6vjqSWxbEsGef5sHBH8qb8_image.png)
The **Environment** can be gotten from their [API documentation](https://api.getmaintainx.com/v1/docs).
Once you have added these fields to your Tray.io authentication pop-up window click the **Create authentication** button. 
Your connector authentication setup should now be complete.

## Available Operations

The examples below show one or two of the available connector operations in use.
Please see the [Full Operations Reference](#operationsFull) at the end of this page for details on all available operations for this connector.
