# Lesson 2.1: Sample deployment

## [](#_deploy_sample_database)Deploy sample database

There are two simple ways to get the `bookstore` sample dataset that is used throughout this academy.

### [](#_preinitialized_typedb_cloud_server)Preinitialized TypeDB Cloud server

TypeDB Cloud deployments let you deploy the latest version of the bookstore sample dataset preloaded during server creation.

### [](#_using_typedb_console)Using TypeDB Console

You can use [TypeDB Console](../../../home/install/console-cli/index.md) (minimum version 3.5.0) to load the bookstore dataset from the `typedb-example` repository, published at [https://github.com/typedb/typedb-examples/releases](https://github.com/typedb/typedb-examples/releases).

TypeDB Console ships with a 1-liner to create a database, and load a schema and data file from URL. To create and initialize a new database with the latest bookstore dataset, you can use:

```bash
typedb console --address=<ADDRESS> --username=<USER> --command="database create-init bookstore http://github.com/typedb/typedb-examples/releases/latest/download/bookstore-schema.tql http://github.com/typedb/typedb-examples/releases/latest/download/bookstore-data.tql"
```

You can use this to load the dataset into a TypeDB CE, TypeDB Cloud, or your own on-premise TypeDB Enterprise server.

## [](#_get_typedb_studio)Get TypeDB Studio

To connect to a TypeDB server and run queries, we need to use a **TypeDB client**. This course uses **TypeDB Studio**, an IDE for managing and developing with TypeDB. You can either use it on the web at [https://studio.typedb.com](https://studio.typedb.com), or install it following the instructions on the [Studio installation page](../../../home/install/studio/index.md).

This course uses TypeDB Studio, but you may alternatively complete it using [TypeDB Console](../../../home/install/console-cli/index.md) or any [native language driver](../../../home/install/drivers/index.md) instead.

[2\. Environment setup](../index.md) [3\. Reading data](../../3-reading-data/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/academy/modules/ROOT/pages/2-environment-setup/2.1-sample-deployment.adoc) Edit this page on GitHub.