MuleSoft Connector

Below are the steps outlined where you can install the connector in your local maven repository.

💡 If you haven’t downloaded Anypoint Studio prior to following along with this guide, the download page for that application can be found here

  1. Download the connector configuration file

    1. First, if you haven't created an OAuth 2.0 client application, in Ironclad go to the Company Settings → API → Apps page and press the "Create a new app" button.
    2. Then, download the Ironclad connector zip file via the client application edit page.
  2. Install & Use Maven

    1. Maven is used to download dependencies from the internet. Within your terminal, ensure that Maven is installed. This can be done in several ways, but a simple way would be to use the brew command brew install mvnvm
    2. To ensure Maven is working on your machine, you can test with the command
      mvn —-version
      1. The result of this should contain the path (exact version may vary), e.g
      Maven home: /Users/user/.mvnvm/apache-maven-3.9.9
    3. Afterwards, in the install directory, you should be able to access a folder called .m2
      1. This folder gets automatically created on your machine after installing Maven
      2. Unzip the mulesoft-connector.zip file from Ironclad, which should result in a folder titled something like 2.10.72(or a later version)
        1. On MacOS, you can just double-click the zip file. On Windows, right-click the file and select “Extract All”
      3. Within the .m2 folder, there should be a folder titled repository, you can put the that unzipped folder in here under .m2/repository/com/ironclad/muleconnector/ironclad-connector/2.10.72 (or a later version)
  3. Upload the Jar file to Anypoint Studio

    1. Open Anypoint Studio, and click on the "Install Artifact in local repository" icon on the toolbar.

    2. Locate the ironclad-connector-2.10.72-mule-plugin.jar in the unzipped folder within your .m2 directory

    3. Once the file is selected and all the values below are filled in automatically, click Install

      1. This will install the connector dependency in your local maven repository.

      b. Depending on the connector dependency as shown in the previous screenshot, add them in any mule application’s pom.xml.

  4. Set dependency in Project Pom file

    a. Create a new project via File → New → Mule Project

    b. Once the project is created, navigate to pom.xml in the folder structure

    c. Right click the pom.xml and select Open With → Text Editor

    d. Add the dependency to the pom.xml in the main project folder as (version number may vary)

    <dependency>
    
    	<groupId>com.ironclad.muleconnector</groupId>
    	
    	<artifactId>ironclad-connector</artifactId>
    	
    	`<version>2.10.72</version>`
    	
    	<classifier>mule-plugin</classifier>
    
    </dependency>
    

    e. Save the pom.xml changes

  5. Once dependency is added, connector should be added as part of project