# Setting up your dev environment in Onyxia

In this video, we guide you through setting up your development environment in Onyxia. We demonstrate how to automatically clone your Git repository, install any missing dependencies, and open a port for your development server.

You can also find initialization scripts of interactive services [here](https://github.com/InseeFrLab/sspcloud-init-scripts).

{% hint style="info" %}
I forgot to show in the video that you can setup your GitHub/GitLab username and token in My Account -> External services.

This will enable Onyxia to clone private repos! &#x20;

![](https://content.gitbook.com/content/x3LIftMZY501x5liXUPV/blobs/HWgZGrZsMfVWwXgN6phG/Screenshot%202024-04-03%20at%2010.28.14.png)
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=_6rKPeQj650>" %}


---

# Agent Instructions: 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:

```
GET https://docs.onyxia.sh/user-doc/setting-up-your-dev-environment-in-onyxia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
