---
title: Step 1. Download the samples
description: To start this tutorial, you need to download the SDK sample apps repo, which contains the projects you will use.
component: sdks
version: latest
page_id: sdks:sdks:tutorials/angular/01_downloading-forgerocksdk
canonical_url: https://docs.pingidentity.com/sdks/latest/sdks/tutorials/angular/01_downloading-forgerocksdk.html
llms_txt: https://docs.pingidentity.com/sdks/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: Wed, 17 May 2023 14:10:20 +0100
keywords: ["PingOne Advanced Identity Cloud", "PingAM", "Journeys", "Setup &amp; Configuration", "Source Code", "Tutorial", "SDK"]
---

# Step 1. Download the samples

To start this tutorial, you need to download the SDK sample apps repo, which contains the projects you will use.

Within the repo are two branches related to this tutorial:

* `build-protected-app/start`

  Contains all the source files you need to follow this tutorial, but without the actual implementation of the Ping (ForgeRock) SDK functionality.

  Use this branch if you want to complete the tutorial step-by-step, adding the code the tutorial provides.

* `build-protected-app/complete`

  The same source files but with the Ping (ForgeRock) SDK code already implemented.

  Use this branch if you want to skip ahead of the tutorial, or if you want to compare your work with the completed version for troubleshooting.

To get a copy of the tutorial source code:

1. In a web browser, navigate to the [SDK Sample Apps repository](https://github.com/ForgeRock/sdk-sample-apps).

2. Download the source code using one of the following methods:

   * Download a ZIP file

     1. Select which branch to download:

        ![Select the branch you want to download from the samples repo](../../../_images/sample-repo-branches.png)

     2. Click Code, and then click Download ZIP.

     3. Extract the contents of the downloaded ZIP file to a suitable location.

   * Use a Git-compatible tool to clone the repo locally

     1. Click Code, and then copy the HTTPS URL.

     2. Use the URL to clone the repository to a suitable location.

        For example, from the command-line you could run:

        ```shell
        git clone https://github.com/ForgeRock/sdk-sample-apps.git
        ```

     3. Checkout which branch you want to work on.

        For example, from the command-line you could run:

        ```shell
        git checkout build-protected-app/start
        ```

The result of these steps is a local folder named `sdk-sample-apps`.
