> For the complete documentation index, see [llms.txt](https://docs.cloudimage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudimage.io/implementation/cms-plugins/contentful.md).

# Contentful

## Installation <a href="#od_4941c597" id="od_4941c597"></a>

### Prerequisites <a href="#od_4941c597" id="od_4941c597"></a>

You need to have a Contentful account. Contentful is 100% Cloud Native, so you have to sign up for a hosted CMS at [https://be.contentful.com](https://be.contentful.com/)

You’ll get :

```
https://app.contentful.com/spaces/{Your Space ID}/home
```

### Step 1. Install from Contentful Marketplace <a href="#od_e13c6c61" id="od_e13c6c61"></a>

Find it here <https://www.contentful.com/marketplace/> and install it.

Or click "Install now" on <https://www.contentful.com/marketplace/app/scaleflex-cloudimage/>

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

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

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

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

### Step 2. Configure App <a href="#od_b9b03603" id="od_b9b03603"></a>

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

Then save and install.

### Step 3. Create Content Type <a href="#od_7908ee08" id="od_7908ee08"></a>

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

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

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

**Absolutely important: The Field ID must be "cloudimage".**

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

By doing the above, you will associate the Cloudimage field (the field that you named Cloudimage) to the Cloudimage App. Recall the warning message you saw during the app configuration stage "There are no content types with ..."? By doing the above, that will no longer be an issue.

## Usage <a href="#od_7908ee08" id="od_7908ee08"></a>

Now you can create a content item of Cloudimage type.

You can add and remove images.

<figure><img src="/files/2Si1di6Zs3fL7Cgg9hHO" alt=""><figcaption></figcaption></figure>

Cloudimage will optimize those images in the background. (If you inspect in developer console, you will see the call to its infrastructure)

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.cloudimage.io/implementation/cms-plugins/contentful.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.
