> For the complete documentation index, see [llms.txt](https://docs.chartsql.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chartsql.com/chartsql-studio/basic-concepts/workspace.md).

# Workspace

## Workspace Overview

The ChartSQL Studio Editor is organized into a Workspace. Within your Workspace you add **Folders** from your file system, and **Datasources** to connect to.

## Folders

Add Folders to your workspace to be able to edit SQL scripts and create charts. Typically each folder will contains SQL scripts that are related to a particular client or that are related together. Typically SQL scripts are stored in source control.

See [Folders](/chartsql-studio/basic-concepts/folders.md) for more details.&#x20;

{% hint style="info" %}
A 'Scratchpad' folder that is stored in your Users directory is added automatically to your installation so you can get started right away writing scripts. Typically your SQL scripts will live in source control on your file system.
{% endhint %}

## Datasources

Add Datasources to your work space to connect to SQL databases that your charts will run against. Any SQL script can be run against any Datasource, but typically you will define a default Datasource that scripts in each Folder will execute against.

See [Datasources](/chartsql-studio/basic-concepts/datasources.md) for more details.&#x20;


---

# 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://docs.chartsql.com/chartsql-studio/basic-concepts/workspace.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.
