> For the complete documentation index, see [llms.txt](https://docs.navigaglobal.com/content-agent/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.navigaglobal.com/content-agent/admin/config.md).

# Config

The plugin needs to be configured with endpoints and credentials for InfoCaster, Open Content and QueryStreamer.

### Example config:

#### Infocaster

```javascript
{
    "host": "${DBKS:CA_IC_PROVIDER_URL}",
    "publisher": "open-session",
    "token": ""
}
```

#### Content providers

```javascript
{
	"${DBKS:CA_PROVIDER}": {
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}",
			"username": "${DBKS:CA_OC_PROVIDER_USERNAME}",
			"password": "${DBKS:CA_OC_PROVIDER_PASSWORD}"
		},
		"querystreamer": {
			"host": "${DBKS:CA_QS_PROVIDER_URL}",
			"username": "${DBKS:CA_QS_PROVIDER_USERNAME}",
			"password": "${DBKS:CA_QS_PROVIDER_PASSWORD}"
		},
		"infocaster": {
			"host": "${DBKS:CA_IC_PUBLISHER_URL}",
			"publisherId": "${DBKS:CA_IC_PUBLISHER_ID}",
			"token": "${DBKS:CA_IC_PUBLISHER_TOKEN}"
		}
	}
}
```

###

### Example using Naviga ID to communicate

Remove username and password in order to send your Naviga ID token to OC to handle access.\
\&#xNAN;*\* Token is only sent to the whitelisted domains of Dashboard (default: infomaker.io, navigacloud.com)*

```javascript
{
	"${DBKS:CA_PROVIDER}": {
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}"
		},
		[...]
	}
}
```

###

### Example using Client Credentials

```javascript
{
	"${DBKS:CA_PROVIDER}": {
		"clientId": "${DBKS:CA_CC_ID}",
    "clientSecret": "${DBKS:CA_CC_SECRET}",
    
		"opencontent": {
			"host": "${DBKS:CA_OC_PROVIDER_URL}"
		},
		[...]
	}
}
```

###

### Example using CCA integration

In order to allow us to use CCA integration part of content agent we need to specify current CCA endpoint.

```javascript
{
	"${DBKS:CA_PROVIDER}": {
		[...]
		"cca": {
			"baseUrl": "https://cca-eu-west-1.saas-stage.infomaker.io/"
		}
	}
}
```
