# Add a codespace

> Add a codespace - Learn how to create a Codespace to store notebooks and associated files.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:10.072587+00:00` (UTC).

## Primary page

- [Add a codespace](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/create-cs.html): Full documentation for this topic (HTML).

## Sections on this page

- [Upload files to create a codespace](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/create-cs.html#upload-files-to-create-a-codespace): In-page section heading.

## Related documentation

- [NextGen UI documentation](https://docs.datarobot.com/en/docs/workbench/index.html): Linked from this page.
- [DataRobot Notebooks](https://docs.datarobot.com/en/docs/workbench/wb-notebook/index.html): Linked from this page.
- [Codespaces](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/index.html): Linked from this page.
- [clone the repo using the Git CLI from the terminal](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/session-cs.html#work-with-a-private-github-repository): Linked from this page.

## Documentation content

Codespaces are an asset of a Use Case. Navigate to the Use Case in which you want the codespace included and click:

- Add > Add codespace to create a new codespace.
- Upload codespace to upload a local folder with a collection of files or use a Git URL to serve as a codespace.

After selecting, the codespace interface opens.

### Upload files to create a codespace

You can upload a local folder with a collection of files or use a Git URL to serve as a codespace.

To upload file(s) or folders from your local machine, either drag and drop them into the upload modal or use file picker. When you click Upload DataRobot creates a new codespace, starts up the codespace session, and uploads the selected file(s) to the codespace file system.

You can also create a new codespace from an existing public Git repository. In the upload modal, specify the Git repository URL for the repo that you want to clone. When you click Upload, DataRobot creates a new codespace, starts up the codespace session, and clones the Git repository to the codespace file system. If you want to clone a private repo to a codespace, you must first create a new, empty codespace, then [clone the repo using the Git CLI from the terminal](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/session-cs.html#work-with-a-private-github-repository). You can integrate DataRobot with your Git provider so that DataRobot can access your repositories using the OAuth 2.0 standard. For more information, reference the [Integrate with a Git provider](https://docs.datarobot.com/en/docs/workbench/wb-notebook/codespaces/session-cs.html#integrate-with-a-git-provider) page.
