# Obtaining Infor ION API file

To establish a connection, you first need to create an **ION API file**. The file is generated under **Authorized Apps** tab inside **Infor ION API** component of **Infor IOS**.&#x20;

* Click on **+** sign (Add New App) to add a new app to the repository.

<figure><img src="/files/wTMgyq24P6Zbcys55pzB" alt=""><figcaption><p>Authorized Apps inside Infor ION API</p></figcaption></figure>

* Provide a **Name** for an authorized application and choose its **Type**. Provide a **Description** and press **Save** to complete the setup.

<figure><img src="/files/VqSM32dYHs5FBgXyj1dx" alt=""><figcaption><p>Creating an authorized app</p></figcaption></figure>

* The saved application will now have an option to **Download Credentials**. Click on that.

<figure><img src="/files/gBsKTSGTfxX6UA3tn0dL" alt=""><figcaption><p>Generating ION API File</p></figcaption></figure>

* Make sure to set **Create Service Account** and assign an appropriate service user from the list. Click on **Download** to download the ION API file.&#x20;

<figure><img src="/files/9lZILSYgyI9sAIDUMnFF" alt=""><figcaption><p>Downloading ION API File</p></figcaption></figure>

* Make sure that the chosen M3 user ID for **Service Account** has proper security roles assigned inside IFS (Infor Federation Services). \
  Make sure that either '**GRID-Administrator**' or '**GRID-RunAsM3User**' is ticked. These enable an authenticated user to start jobs on behalf of other users.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.novacura.com/flow-connect/working-with-connect/connect-to-systems/connectors/rest/infor-m3-rest/obtaining-infor-ion-api-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
