> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nikaplanet.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Managed DuckDB

> Set up a new managed DuckDB instance for spatial SQL queries

Create a new DuckDB instance managed by Nika for high-performance spatial data analysis.

## Step 1: Access Database Management

1. Navigate to **Database Management** in your NikaWorkspace
2. Click **"Create New Database"**
3. Select **"Managed DuckDB"** from the database types

<img src="https://mintcdn.com/nika/WfnfgNXWvw6fNgHH/guides/database-management/create-managed-duckdb-1.jpg?fit=max&auto=format&n=WfnfgNXWvw6fNgHH&q=85&s=1aaf89be63f097b0fadb66dff34ecc6d" alt="Create Managed DuckDB Step 1" width="1697" height="1301" data-path="guides/database-management/create-managed-duckdb-1.jpg" />

## Step 2: Configure Database

1. Enter a **database name** (e.g., "spatial\_analysis")
2. Choose **storage location** (Nika cloud or local)
3. Enable **spatial extensions** for geospatial functions
4. Click **"Create Database"**

<img src="https://mintcdn.com/nika/WfnfgNXWvw6fNgHH/guides/database-management/create-managed-duckdb-2.jpg?fit=max&auto=format&n=WfnfgNXWvw6fNgHH&q=85&s=d6af1b8c08ec77c38043534ae490e28a" alt="Create Managed DuckDB Step 2" width="554" height="416" data-path="guides/database-management/create-managed-duckdb-2.jpg" />

## Step 3: Verify Creation

Your new managed DuckDB instance is ready for spatial SQL queries with built-in geospatial functions.

<Note>
  Managed DuckDB instances include spatial extensions by default and support direct file querying from your workspace.
</Note>
