> ## Documentation Index
> Fetch the complete documentation index at: https://support.nectir.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LTI Manual Registration

> How to manually integrate Nectir AI in Moodle

export const entity_1 = "Assistant"

export const entity_0 = "Workspace"

<Note>
  This guide is intended for LMS administrators. If you encounter any issues during the integration process, please contact [support@nectir.io](mailto:support@nectir.io).
</Note>

## Configuring Nectir AI

1. Navigate to **Site Administration** > **Plugins** > **External Tools** > **Manage Tools**

2. Select **configure a tool manually**

3. Input the following information:

   * **Tool name**: Nectir AI

   * **Tool URL**: [https://ai.nectir.io/api/lti13/validate](https://ai.nectir.io/api/lti13/validate)

   * **Description**: Nectir AI is a platform that enables educators to create custom AI Assistants to provide personalized support and feedback to students, right within the LMS.

   * **LTI version**: LTI 1.3

   * **Public key type**: Keyset URL

   * **Public keyset**: [https://ai.nectir.io/api/lti13/keys](https://ai.nectir.io/api/lti13/keys)

   * **Initiate login URL**: [https://ai.nectir.io/api/lti13/login](https://ai.nectir.io/api/lti13/login)

   * **Redirection URIs**: [https://ai.nectir.io/api/lti13/validate](https://ai.nectir.io/api/lti13/validate)

   * **Custom parameters**: `workspaceId=YOUR_WORKSPACE_ID`

     <Tip>
       You can find your {entity_0} ID by going to **Nectir AI** > **{entity_0} settings** <Icon icon="gear" iconType="solid" color="black" /> > Copy and paste the **{entity_0} ID** field
     </Tip>

   * **Tool configuration usage**: Show in activity chooser and as a preconfigured tool

   * **Default launch container**: (If you want Nectir AI to open within Moodle as an iframe, select **Embed, without blocks**. Otherwise, if you want it to open in a new tab, select **New window**)

   * Click **Show more**
     * **Icon URL**: [https://uploads-ssl.webflow.com/6407a24c35623b45cebd83a1/6633efa7c1be71919bc67558\_Group%2022.png](https://uploads-ssl.webflow.com/6407a24c35623b45cebd83a1/6633efa7c1be71919bc67558_Group%2022.png)

   * Go to the **Services** section
     * **IMS LTI Names and Role Provisioning**: Use this service to retrieve members' information as per privacy settings

   * Go to the **Privacy** section
     * **Share launcher's name with tool**: Always
     * **Share launcher's email with tool**: Always

4. Click **Save changes**

5. Scroll down to your newly created tool. Open the **Tool configuration details** by clicking the magnifying glass icon <Icon icon="magnifying-glass-plus" iconType="solid" color="black" />

6. Copy the configuration details and share them with your Nectir AI representative

<Warning>
  After completing these steps, your Nectir AI representative will need to
  enable the integration on their side.
</Warning>

## Adding Nectir AI to a Course

1. Navigate to the course where you would like to configure Nectir AI
2. Make sure **Edit mode** is on
3. Select **Add an activity or resource** and select **Nectir AI**
4. Input the following information:
   * **Activity name**: Nectir AI
   * **Description**: Nectir AI is a platform that enables educators to create custom AI Assistants to provide personalized support and feedback to students, right within the LMS.
5. Click **Save and display**

<Tip>
  If you would like to link directly to an Assistant, under the **General**
  section, select **Show more**. Then in the **Custom parameters** field, input
  `assistantId=YOUR_ASSISTANT_ID`. If you would like to redirect to a specific
  Nectir AI Group AND a specific Nectir AI Assistant, you can input the
  following: `groupId=YOUR_GROUP_ID, assistantId=YOUR_ASSISTANT_ID`
</Tip>

## Adding an Assistant to a Course (Optional)

If you would like to have the Nectir AI open to a specific Assistant, follow these steps:

1. Select **Add an activity or resource** and select **Nectir AI**

2. Input the following information:

   * **Activity name**: Nectir AI
   * **Description**: Nectir AI is a platform that enables educators to create custom AI Assistants to provide personalized support and feedback to students, right within the LMS.
   * **Custom parameters**: `assistantId=YOUR_ASSISTANT_ID`

     <Tip>
       You can find your {entity_1} ID by going to **Nectir AI** > **{entity_1} settings** <Icon icon="gear" iconType="solid" color="black" /> > Copy and paste the **{entity_1} ID** field
     </Tip>

3. Click **Save and display**

## Troubleshooting

If you encounter issues with the Nectir AI integration:

* Reload the page
* Verify that you entered all URLs and parameters correctly
* Contact your Nectir AI representative for further help at [support@nectir.io](mailto:support@nectir.io)
