> For the complete documentation index, see [llms.txt](https://learn.pakronics.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.pakronics.com.au/primary/codey-rocky-ai-robot/tutorials/get-started.md).

# Get Started

In this section, a quick start guide will help you get started with Codey Rocky.

## Connect Codey Rocky to mBlock 5

### 1. Open mBlock 5. Connect Codey to your computer via the USB cable. (For mBlock App, please follow the on-screen instructions.)

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-06-30.png)

### 2. Press the **Power** button to turn on Codey.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-12-48.png)

### 3. Make sure **Codey** is selected and click **Connect**. From the pop-up "Connect Device" window, click **Connect**.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-27-24.png)

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-27-33.png)

## Create a Codey Rocky Project

Let's start with a simple project, to make Codey play the sound of "hello" when being shaken.

### 1. Drag a when Codey is shaking block from the Events category to the scripts area.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-47-37.png)

### 2. Drag a play sound () block from the Speaker category, and add it onto the existing block.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-53-06.png)

### 3. Click "Upload" to upload the program to Codey.

![](http://docs.makeblock.com/codeyrocky/en/tutorials/2018-12-04-15-56-59.png)

### 4. Try shaking Codey!


---

# 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://learn.pakronics.com.au/primary/codey-rocky-ai-robot/tutorials/get-started.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.
