Stay organized with collections
Save and categorize content based on your preferences.
Step 2: Clone repository
This page describes the second step to deploy Cortex Framework Data Foundation,
the core of Cortex Framework. In this step, you clone the
Cortex Framework Data Foundation
repository.
Clone the Cortex Framework Data Foundation repository with the following
commands, using Cloud Shell.
If you are using your terminal, install the gcloud sdk (which is already
installed in Cloud Shell).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page details the second step in deploying Cortex Framework Data Foundation, which is the core of the Cortex Framework.\u003c/p\u003e\n"],["\u003cp\u003eThe primary action in this step is to clone the Cortex Framework Data Foundation repository from its official GitHub location.\u003c/p\u003e\n"],["\u003cp\u003eUsers should use Cloud Shell or install the \u003ccode\u003egcloud sdk\u003c/code\u003e if using a local terminal for this process.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves using the \u003ccode\u003egit clone\u003c/code\u003e command to download the repository and then the \u003ccode\u003ecd\u003c/code\u003e command to enter the repository directory, or if the repository is already cloned, using the \u003ccode\u003egit pull\u003c/code\u003e command to get the latest changes.\u003c/p\u003e\n"],["\u003cp\u003eThe remaining steps are to determine integration mechanism, set up components, configure deployment and execute deployment.\u003c/p\u003e\n"]]],[],null,["# Step 2: Clone repository\n========================\n\nThis page describes the second step to deploy Cortex Framework Data Foundation,\nthe core of Cortex Framework. In this step, you clone the\n[Cortex Framework Data Foundation](https://github.com/GoogleCloudPlatform/cortex-data-foundation)\nrepository.\n| **Note:** The steps outlined on this page are specifically designed for deploying Cortex Framework Data Foundation from the [official GitHub repository](https://github.com/GoogleCloudPlatform/cortex-data-foundation)\n\nClone the Cortex Framework Data Foundation repository with the following\ncommands, using [Cloud Shell](https://shell.cloud.google.com/?fromcloudshell=true&show=ide%2Cterminal).\nIf you are using your terminal, install the `gcloud sdk` (which is already\ninstalled in Cloud Shell).\n\n1. Clone the [repository](https://github.com/GoogleCloudPlatform/cortex-data-foundation)\n using the following command:\n\n git clone https://github.com/GoogleCloudPlatform/cortex-data-foundation\n\n2. Navigate into the downloaded repository with the following command:\n\n cd cortex-data-foundation\n\n If you have already cloned this repository before, pull the latest changes\n with the following command: \n\n git pull\n\nNext steps\n----------\n\nAfter you complete this step, move on to the following deployment steps:\n\n1. [Establish workloads](/cortex/docs/deployment-step-one).\n2. [Clone repository](/cortex/docs/deployment-step-two) (this page).\n3. [Determine integration mechanism](/cortex/docs/deployment-step-three).\n4. [Set up components](/cortex/docs/deployment-step-four).\n5. [Configure deployment](/cortex/docs/deployment-step-five).\n6. [Execute deployment](/cortex/docs/deployment-step-six)."]]