# Deployment Guide LTI 1.1

Source: https://docs.annoto.net/setup/open-edx-setup/deployment-guide-lti-1-1

## Overview

This document shows how to add Annoto as an LTI activity to your OpenEdx environment.

### Enable LTI Consumer In Studio

You can enable the LTI xblock in studio through the advanced settings:

1. From the main page of a specific course, click ​**Settings-&gt;Advanced Settings** in the top menu.
2. Check for the Advanced Module List policy key, and add "lti\_consumer" in the policy value list.
 

\[

...

" lti\_consumer",

...

\]

3\. In “LTI Passports “, Add value **"annoto-auth:&lt;annoto\_client\_id&gt;:&lt;annoto\_client\_secret&gt;"** to LTI Passports list, fill in “annoto-auth:” and then ClientID and Secret, separated by punctuation.

These ClientID and shared secret are provided by Annoto, If you do not have this information, please contact us at: <support@annoto.net>

**\[**

**...**

**"annoto-auth:&lt;annoto\_client\_id&gt;:&lt;annoto\_client\_secret&gt;",**

**...**

**\]**

For example:

\[

"annoto-auth:eyJhbGciOiJIUzI1NiJ9.Mjc0NGJhODEtMWQ2OC00YWJkLTg4MGQtODc2MzM1MWRkYTg5.o\_OLJJwbkvUhYumiFWf6TQXSvShVZRuzi2UbijAPMkc:72d6299b5a0d66106f824594a7943303540b15b8b859596d7af2a3ab4f89140a"

\]

As seen in the image below:

![Enable LTI Consumer In Studio](https://cdn.annoto.net/docs-kb/setup-guides/3-10.png)

4\. Click on the **Save changes** button.

### Adding ANNOTO LTI Activity

Once the lti\_consumer module was added to the Course, it should be added to the course unit, using the following steps:

1. On the Course Outline page, open the unit in which you want to add Annoto:
 

![Adding ANNOTO LTI Activity](https://cdn.annoto.net/docs-kb/setup-guides/2-7.png)

2\. Under Add New Component, click ​Advanced​, and then select **​LTI Consumer**​.

![Adding ANNOTO LTI Activity](https://cdn.annoto.net/docs-kb/setup-guides/3-5.png)

![Adding ANNOTO LTI Activity](https://cdn.annoto.net/docs-kb/setup-guides/4-9.png)

3\. Click Edit and then change **LTI Consumer** settings as you prefer:

![Adding ANNOTO LTI Activity](https://cdn.annoto.net/docs-kb/setup-guides/5-5.png)

### Annoto LTI Activity Settings

Set the following fields as follows :

1. **Display Name :** Annoto LTI Activity (Or any name you like)
2. **LTI ID :** annoto-auth
3. **LTI URL:**
    
    
    1. EU Deployment: <https://auth.eu.annoto.net/lti/embed/launch>
    2. US Deployment: [https://auth.us.annoto.net/lti/embed/launch](https://auth.eu.annoto.net/lti/embed/launch)
    
    Note: If you are not sure what deployment to use please contact us at [Annoto Support](mailto:support@annoto.net?subject=Annoto%20Support)
4. **Custom Parameters:**
    
    
    - **nn\_ptype** - Player type (vimeo, wistia, youtube, videojs, html5, jwplayer etc.)
    - **nn\_v** - Video Source ID
 

Examples:

**Youtube:**

**Link:** [**https://www.youtube.com/watch?v=**s7z91ePA8oo****](https://www.youtube.com/watch?v=s7z91ePA8oo)

**nn\_ptype=youtube**

**nn\_v=**s7z91ePA8oo****

 ![Annoto LTI Activity Settings](https://cdn.annoto.net/docs-kb/setup-guides/image-70.png)

**Wistia:**

**Inline Link: ....**src="https://fast.wistia.net/embed/iframe/****p0jkc3d9by****"...

**Popover embed: ...**src="https://fast.wistia.com/embed/medias/****p0jkc3d9by****.jsonp"....

**nn\_ptype=wistia**

**nn\_v=**p0jkc3d9by****

 ![Annoto LTI Activity Settings](https://cdn.annoto.net/docs-kb/setup-guides/image-95.png)

**Vimeo:**

**Link:** [**https://vimeo.com/**253538285****](https://vimeo.com/253538285)

**nn\_ptype=vimeo**

**nn\_v=**253538285****

5. **LTI Launch Target:** Inline
6. **Request user's email :** True
7. **Request user's username:** True
8. Save the changes you made.
9. In order for the changes to go live, don’t forget to **publish** the unit:
 

![Annoto LTI Activity Settings](https://cdn.annoto.net/docs-kb/setup-guides/6-5.png)

Click on view live version:

![Annoto LTI Activity Settings](https://cdn.annoto.net/docs-kb/setup-guides/image-41.png)

 ![Annoto LTI Activity Settings](https://cdn.annoto.net/docs-kb/setup-guides/image-42.png)

## Support

If you need any additional information or have any questions, please contact us at [Annoto Support](mailto:support@annoto.net?subject=Annoto%20Support)

## Last but not least

To learn more about Annoto’s capabilities, visit our [**Annoto’s Guide**](https://docs.annoto.net/guides/widget/annoto-widget-introduction)**.**
