---
title: How do I embed a Cogniti agent into Moodle?
description: "Once you create an agent in Cogniti, you can embed this into your Moodle course as an external tool activity to make it easier and more seamless for students to use your agent. This way, they don't need to create…"
url: "https://cogniti.ai/docs/how-do-i-embed-a-cogniti-agent-into-moodle/"
updated: "2026-08-30"
category: Agent fundamentals
---

# How do I embed a Cogniti agent into Moodle?

Once you create an agent in Cogniti, you can embed this into your Moodle course as an external tool activity to make it easier and more seamless for students to use your agent. This way, they don't need to create an account, and can use your agents right where they are engaging with learning.

**Note:**To embed Cogniti into Moodle, your Moodle administrator will need to have added it as an LTI plugin. Ask them to [get in touch](https://cogniti.ai/get-in-touch/) with us to do so.

## Create an agent

You'll need to have a Cogniti agent [created](https://cogniti.ai/docs/how-do-i-create-an-agent/) first.

## Embed it as an external tool activity

Enter edit mode in your Moodle Course.

Add an activity by clicking the *Add an activity or resource* link.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-6.png)

Depending on your version of Moodle, it may appear like this instead:

![](https://cogniti.ai/wp-content/uploads/2024/05/image.png)

Choose Cogniti from the list of activities that appears.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-7.png)

Depending on how your Moodle administrator has set up the connection to Cogniti, you may see a *Select content* button.

### If the *Select content* button exists

Click the *Select content* button.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-10.png)

A dialog will appear allowing you to search and locate the agent you need. Click *Select this agent* on your chosen agent.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-8.png)

Once the agent is linked successfully, you will see *Content selected* next to the *Select content* button.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-9.png)

Click *Save and display*.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-11.png)

The agent will appear in Moodle as this activity.

### If the *Select content* button does not appear

Give the activity a name, and click *Save and display*.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-12.png)

A list of agents will appear. You can search for the agent you need. Locate the agent, and then click *Select this agent*. This will tell Cogniti which agent to associate with this Moodle activity.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-2-1024x352.png)

If successfully associated, a message will appear asking you to reload the page.

![](https://cogniti.ai/wp-content/uploads/2024/05/image-3.png)

Reload the page and your agent will appear in Moodle:

![](https://cogniti.ai/wp-content/uploads/2024/05/image-5-1024x543.png)

## Adding other agents

If you need to select a different agent, repeat the steps above to create a new activity.
