# Provisioning

URL: https://docs.hanzo.ai/docs/cli/provisioning

> The `hanzo provisioning` commands.

Also for this capability: [API](https://docs.hanzo.ai/docs/openapi/provisioning) · **CLI** · [MCP](https://docs.hanzo.ai/docs/mcp-tools/provisioning) · [SDKs](https://docs.hanzo.ai/docs/sdks)

One-click data add-ons: a SQL, key-value, document, vector, search or object store, wired straight into your app.

[API reference →](https://docs.hanzo.ai/docs/openapi/provisioning)

```bash
hanzo provisioning kv list
```

Every command takes `--json` for the raw response and `--help` for its own flags. Sign in once with `hanzo auth login`; the commands below use that session, and the org they act in is the one it carries.

### Datastore

| Command                                   | What it does                                                                                            |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `hanzo provisioning datastore create`     | Launches your org's OWN Hanzo Datastore instance and answers with its `datastore://` connection string. |
| `hanzo provisioning datastore get <name>` | Returns one Hanzo Datastore warehouse's metadata.                                                       |
| `hanzo provisioning datastore list`       | Lists the caller org's Hanzo Datastore warehouses.                                                      |
| `hanzo provisioning datastore rm <name>`  | Deprovisions one Hanzo Datastore warehouse.                                                             |

### DocDB

| Command                               | What it does                                                                                            |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `hanzo provisioning docdb create`     | Launches your org's OWN document-database instance and answers with its `mongodb://` connection string. |
| `hanzo provisioning docdb get <name>` | Returns one Hanzo DocDB database's metadata.                                                            |
| `hanzo provisioning docdb list`       | Lists the caller org's Hanzo DocDB document databases.                                                  |
| `hanzo provisioning docdb rm <name>`  | Deprovisions one Hanzo DocDB database.                                                                  |

### KV

| Command                            | What it does                                                                               |
| ---------------------------------- | ------------------------------------------------------------------------------------------ |
| `hanzo provisioning kv create`     | Launches your org's OWN key-value instance and answers with its `kv://` connection string. |
| `hanzo provisioning kv get <name>` | Returns one Hanzo KV store's metadata.                                                     |
| `hanzo provisioning kv list`       | Lists the caller org's Hanzo KV stores.                                                    |
| `hanzo provisioning kv rm <name>`  | Deprovisions one Hanzo KV store.                                                           |

### S3

| Command                            | What it does                                                                                                                  |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `hanzo provisioning s3 create`     | Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it. |
| `hanzo provisioning s3 get <name>` | Returns one bucket's metadata.                                                                                                |
| `hanzo provisioning s3 list`       | Lists the caller org's object-storage buckets.                                                                                |
| `hanzo provisioning s3 rm <name>`  | Deletes one bucket from the shared object store and removes its metadata row.                                                 |

### Search

| Command                                | What it does                                                                                                           |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `hanzo provisioning search create`     | Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it. |
| `hanzo provisioning search get <name>` | Returns one search index's metadata.                                                                                   |
| `hanzo provisioning search list`       | Lists the caller org's search indexes.                                                                                 |
| `hanzo provisioning search rm <name>`  | Deletes one search index from the shared backend and removes its metadata row.                                         |

### SQL

| Command                             | What it does                                                                                      |
| ----------------------------------- | ------------------------------------------------------------------------------------------------- |
| `hanzo provisioning sql create`     | Launches your org's OWN PostgreSQL instance and answers with its `postgres://` connection string. |
| `hanzo provisioning sql get <name>` | Returns one Hanzo SQL database's metadata.                                                        |
| `hanzo provisioning sql list`       | Lists the caller org's Hanzo SQL databases.                                                       |
| `hanzo provisioning sql rm <name>`  | Deprovisions one Hanzo SQL database.                                                              |

### Vector

| Command                                | What it does                                                                                                                |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `hanzo provisioning vector create`     | Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it. |
| `hanzo provisioning vector get <name>` | Returns one vector collection's metadata.                                                                                   |
| `hanzo provisioning vector list`       | Lists the caller org's vector collections.                                                                                  |
| `hanzo provisioning vector rm <name>`  | Deletes one vector collection from the shared backend and removes its metadata row.                                         |
