By now it should propably be clear how to run a lab from the list or enter a labroom. +
But you are propably wondering 'My list is empty how am i supposed to run labs from it?!' +
Well here is where the final but most basic menu comes into play: *'Bootstrap'* ! +

= Bootstrap

image::{imagesdir}/bootstrap/bootstrap_main.png[]

Here we can create and add labs to our list.
To do so we have to go through a series of steps, but lets first understand some basic things about how swarmlab works...

TIP: Every swarmlab lab instance resides in a git repo created inside link:https://git.swarmlab.io:3000[our git^] and owned by the lab creator. This repo then serves as a 'home' for all the work inside that lab. +
So for us to create and run a lab we have to link a service to a git repo. +

Asuming we have an account (using the same email as our swarmlab account!) all our repos should be shown on the list in the top left corner. +
To search for any public repo we can use the search bar. +

image::{imagesdir}/bootstrap/test_search_repo.png[]


From that list we can now select the desired repository that we want to use by clicking on the plug icon. image:{imagesdir}/bootstrap/plug_icon.png[] +
We can use any repo we like, but we will be able to commit only to those that we have access to. +
If we wish to edit or contribute to the development of a project we are not part of we can use the clone option as usual! +

Now we have to select the service that our lab will be using. We just select the desired one from the list on the right and it will be automatically linked to the project. +

image::{imagesdir}/bootstrap/service_select.png[]

Finally we have to save the lab instance by filling in the required info at the bottom. +

image::{imagesdir}/bootstrap/save_lab_details.png[]
