|
| 1 | +[← Back to *DEPLOYMENT* guide](/docs/DeploymentGuide.md#deployment-steps) |
| 2 | + |
| 3 | +# Reusing an Existing Azure AI Foundry Project |
| 4 | +To configure your environment to use an existing Azure AI Foundry Project, follow these steps: |
| 5 | +--- |
| 6 | +### 1. Go to Azure Portal |
| 7 | +Go to https://portal.azure.com |
| 8 | + |
| 9 | +### 2. Search for Azure AI Foundry |
| 10 | +In the search bar at the top, type "Azure AI Foundry" and click on it. Then select the Foundry service instance where your project exists. |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +### 3. Navigate to Projects under Resource Management |
| 15 | +On the left sidebar of the Foundry service blade: |
| 16 | + |
| 17 | +- Expand the Resource Management section |
| 18 | +- Click on Projects (this refers to the active Foundry project tied to the service) |
| 19 | + |
| 20 | +### 4. Click on the Project |
| 21 | +From the Projects view: Click on the project name to open its details |
| 22 | + |
| 23 | + Note: You will see only one project listed here, as each Foundry service maps to a single project in this accelerator |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +### 5. Copy Resource ID |
| 28 | +In the left-hand menu of the project blade: |
| 29 | + |
| 30 | +- Click on Properties under Resource Management |
| 31 | +- Locate the Resource ID field |
| 32 | +- Click on the copy icon next to the Resource ID value |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +### 6. Set the Foundry Project Resource ID in Your Environment |
| 37 | +Run the following command in your terminal |
| 38 | +```bash |
| 39 | +azd env set AZURE_ENV_FOUNDRY_PROJECT_ID '<Existing Foundry Project Resource ID>' |
| 40 | +``` |
| 41 | +Replace `<Existing Foundry Project Resource ID>` with the value obtained from Step 5. |
| 42 | + |
| 43 | +### 7. Continue Deployment |
| 44 | +Proceed with the next steps in the [deployment guide](/docs/DeploymentGuide.md#deployment-steps). |
0 commit comments