# Setting Up a Cloudinary Account

![The Cloudinary Homepage](https://3486782044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQxqjHiNgHCfPtd6mkQ%2F-LRAT_zQ5FlwNEB6AZHt%2F-LRAVDlaiD51Iefk8xA-%2Fcl-1.png?alt=media\&token=1f7f0065-56cc-4622-8c06-40f767301703)

To handle image uploads in this app, leverage [Cloudinary](https://cloudinary.com/). First, [create an account](https://cloudinary.com/signup) there.

![The Cloudinary Signup Page](https://res.cloudinary.com/practicaldev/image/fetch/s--osEl7sF3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://d2mxuefqeaa7sj.cloudfront.net/s_CB1529C18383F5548EDF13217A823CEEA09EC3BDFA57AD577E213213DCE5B3F4_1536350242110_Screen%2BShot%2B2018-09-07%2Bat%2B7.56.54%2BPM.png)

### **Find Out Your Cloud Name**

Cloudinary then takes you to your **Dashboard** (media console), in which your cloud name is displayed under **Account Details** (see the screenshot below). Replace the `CLOUDINARY_CLOUD_NAME` variable in the `ClCamera` component in the previous code segments with that name.

![Finding Your Cloudinary Cloud Name](https://3486782044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQxqjHiNgHCfPtd6mkQ%2F-LRAT_zQ5FlwNEB6AZHt%2F-LRAVWKufBuF9k3qEShm%2Fcl-3.png?alt=media\&token=3437d2b1-c229-431b-9477-cea0854d1c01)

### **Create a Cloudinary Upload Preset**

Cloudinary Upload Presets enable you to set up the default behavior of your image uploads. That means that, instead of having to add parameters to apply to your images every time you upload one, you can define tags, transformations, and other analysis presets from your Cloudinary console. Simply specify the the preset name in your code and you’re good to go!

To create a preset, go to the [Upload Settings](https://cloudinary.com/console/settings/upload) screen and click the **Add upload preset** link:

![Adding an Upload Preset](https://3486782044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQxqjHiNgHCfPtd6mkQ%2F-LRAT_zQ5FlwNEB6AZHt%2F-LRAVivHbtupVFyl_l9-%2Fcl-4.png?alt=media\&token=78f120d5-f819-4c39-b3a5-ec392755744e)

The **Add upload preset** screen is then displayed:

![Adding an Upload Preset (1)](https://3486782044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQxqjHiNgHCfPtd6mkQ%2F-LRAT_zQ5FlwNEB6AZHt%2F-LRAVkAx-hbLKRHxgTPI%2Fcl-5.png?alt=media\&token=c3c486af-91e9-4006-9f2b-e24252e860f3)

Type a name of your choice under **Preset name**, set **Mode** to **Unsigned**, and then specify the other details, as appropriate.

![Adding an Upload Preset (2)](https://3486782044-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LQxqjHiNgHCfPtd6mkQ%2F-LRAT_zQ5FlwNEB6AZHt%2F-LRAVlTyS30NaVlrcyTx%2Fcl-6.png?alt=media\&token=2224da98-26f4-4e3d-845e-1d4602776057)

When the `ClCamera` component uploads an image from your app, Cloudinary returns a data element that contains the information relevant to the image. That way, if you set up an Upload Preset to perform such tasks as face detection, image-color analysis, and object detection, Cloudinary returns the results to you for use as you deem appropriate. By default, Cloudinary returns the URL of your uploaded image.


---

# 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://cloudinary.gitbook.io/cloudy-cam/setting-up-a-cloudinary-account.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.
