2019-06-11 01:22:51 +02:00
[[code-getting-started]]
== Getting Started with Code
2019-06-14 23:53:07 +02:00
The easiest way to get started with *Code* is to simply import a real-world repository.
2019-06-11 01:22:51 +02:00
[float]
==== Before you begin
You must have a {kib} instance up and running.
2019-06-14 23:53:07 +02:00
If you are in an environment where you have multiple {kib} instances in a cluster, see the <<code-multiple-kibana-instances-config, config instructions for multiple Kibana instances>>.
2019-06-11 01:22:51 +02:00
[float]
==== Import your first repository
. Navigate to the Code app.
2019-06-14 23:53:07 +02:00
. In the *Repository URL* field, paste the following GitHub clone URL:
2019-06-11 01:22:51 +02:00
+
[source,bash]
----
https://github.com/Microsoft/TypeScript-Node-Starter
----
. Click *Import*.
+
2019-06-14 23:53:07 +02:00
A new item in the list displays the cloning and indexing progress of the `TypeScript-Node-Starter` repo.
2019-06-11 01:22:51 +02:00
+
[role="screenshot"]
image::images/code-import-repo.png[]
. After the indexing is complete, navigate to the repo by clicking its name in the list.
+
[role="screenshot"]
image::images/code-starter-root.png[]
+
Congratulations! You just imported your first repo into *Code*.
include::code-repo-management.asciidoc[]