> For the complete documentation index, see [llms.txt](https://adamite.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adamite.gitbook.io/docs/server/database/using-different-adapters.md).

# Using different adapters

Adamite is designed to work with RethinkDB, but you can connect to virtually any database using different adapters.

To change which adapter you're using, you'll want to modify the `adamite.js` config file. In the section below you can see the default configuration, which uses and configures the RethinkDB adapter.

```javascript
{
  name: "database",
  service: require("@adamite/service-database"),
  options: {
    adapter: new require("@adamite/service-database/adapters/rethinkdb")({
      host: "localhost",
      port: 28015,
      defaultDb: "default"
    }),
    rules: require("./database/rules")
  }
}
```
