# Managing media with Cloudinary

[Cloudinary](https://cloudinary.com) lets you create and maintain a searchable, organizable media library. Integrate Cloudinary with DialogForm to conveniently upload and insert your Cloudinary media assets into the content you create.

## What To Do

### Step 1: Set up the Cloudinary integration

1. Create a Cloudinary account if you don't have one already.
2. On <https://admin.dialogform.in> (on the home page), click on your account avatar on the top right, and navigate to 'Integrations' to open up the Integrations page
3. Select the 'Cloudinary' tab in the left panel
4. Enter your Cloudinary cloud name and API key. You will find this information on your Cloudinary 'Dashboard' page (see the screenshot below).
5. Click on the 'Add' button. You have integrated successfully!

<figure><img src="/files/4ytwAQ6kwWAUUf4GJ4Iz" alt=""><figcaption></figcaption></figure>

### Step 2: Insert a Cloudinary media asset into your content

Once you have integrated Cloudinary, a <img src="/files/lHpWU1enw5enTViRYRFX" alt="" data-size="line"> (Cloudinary logo) button will appear wherever there is the possibility of inserting media into your content.&#x20;

Specifically, this button will appear when you want to [add images to Markdown](/user-guide/how-to-add-images-to-markdown.md), and also when you want to [add video to a prompt](/user-guide/how-to-add-video-to-a-prompt.md).

Click on the button to open up the your media library, click on the thing you want to insert, and click on the 'Insert' button. You can also upload new media to your media library using the 'Upload' button (see the screenshot below).

<figure><img src="/files/pE45tS1FvAfLy7yB6LMK" alt=""><figcaption></figcaption></figure>


---

# 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.dialogform.in/user-guide/managing-media-with-cloudinary.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.
