> For the complete documentation index, see [llms.txt](https://cfcouchbase.ortusbooks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cfcouchbase.ortusbooks.com/installation/coldbox-module.md).

# ColdBox Module

The CFCouchbase SDK is already a ColdBox Module. So if you are building a ColdBox MVC application you can install the SDK with CommandBox via: `box install cfcouchbase`. The SDK will be installed in your `modules` directory, create a mapping called `cfcouchbase` for you, manage all SDK instances and create all the WireBox binders for you.

## WireBox Mappings

The following objects are already mapped in the module edition and can be injected anywhere in your ColdBox application.

* `CouchbaseConfig@cfcouchbase` maps to `cfcouchbase.config.CouchbaseConfig`
* `CouchbaseClient@cfcouchbase` maps to `cfcouchbase.CouchbaseClient`

## ColdBox Settings

You can configure the SDK by creating a `couchbase` structure in your `ColdBox.cfc configuration file. This structure can contain any setting from the`CouchbaseConfig`object and ColdBox will configure the`CouchbaseClient\` for you.

```
couchbase = {
    servers     = "http://127.0.0.1:8091",
    bucketname     = "default",
    viewTimeout    = "1000"
};
```


---

# 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, and the optional `goal` query parameter:

```
GET https://cfcouchbase.ortusbooks.com/installation/coldbox-module.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
