---
title: "Connectors"
description: "Create dynamic form fields by connecting AlpacaJS to Cloud CMS, streamlining your content management. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/content-models/connectors"
---

# Connectors

You can create fields in your form which connect to your Cloud CMS content. This is done by configuring the Alpaca field's [datasource](http://www.alpacajs.org/docs/api/datasources.html "datasource") to use CloudCMS via a [connector](http://www.alpacajs.org/docs/api/connectors.html "connector").

## Example

Suppose you have a type `my:category` and want to create a dropdown field to select category when creating another document. To do that, you would create a field in your form like this:

```
{
   ...

      "category": {
         "type": "select",
         "dataSource": {
            "connector": true,
            "config": {
               "query": {
                  "_type": "my:category"
               },
               "mappings": {
                  "value": "_doc",
                  "text": "title"
               }
            }
         }
      }

   ...
}
```
