# Fetch a scratch org

A developer can fetch a scratch org with all the dependencies installed and the latest code base has been pushed from a pool for their feature development. the developer can start developing new features without spending a few hours preparing the development environment.

```
sfp pool fetch -t dev-pool -v devhub

Fetching a scratch org from pool dev-pool in Org 00D6F000002Xfaixxx
Enabling source tracking, this will take a bit of time, please hang on
Copying the repository to /var/folders/0n/qs0txqqj6p7gkjlztgmf224h0000gn/T/tmp-11226-pTuia24bl8Gs
Successfully created temporary repository at /var/folders/0n/qs0txqqj6p7gkjlztgmf224h0000gn/T/tmp-11226-pTuia24bl8Gs with commit HEAD
Total Artifacts to Analyze: 1

Installed managed packages:
Packages installed in org:
                                                              
 Package             Version       Type      isOrgDependent 
 FSL                 238.0.35.1    Managed   false          
 Conga Composer      8.174.0.15    Managed   false          
 Conga Batch         8.22.0.3      Managed   false          
 Vlocity Insurance   890.333.0.1   Managed   false          
                                                              
Artifacts installed in org:
                                                                                          
 Artifact                      Version         Commit Id                                
 utils                         1.2.2.1        f79efddfd7f57e52d63222f6d9c23fb1e6a47152 

                                                                                          
======== Scratch org details ========
 KEY         VALUE                                                                                                                                               
 ─────────── ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
 Id          2SR5m0000001d0vxxx                                                                                                                                  
 orgId       00D2O000000Hxxx                                                                                                                                     
 loginURL    https://efficiency-data-0000.my.salesforce.com/                                                                                                     
 username    test-zey1higmxxxx@example.com                                                                                                                       
 password    **********                                                                                                                                       
 expiryDate  2023-03-03                                                                                                                                          
 sfdxAuthUrl force://PlatformCLI::*******@efficiency-data-0000.my.salesforce.com 
 status      Assigned                                                                                                                                            
----------------------------------------------------------------------------------------------------
Succesfully fetched a scratch org and enabled source tracking  in 00:00:11.291
----------------------------------------------------------------------------------------------------

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flxbl.io/flxbl/sfp/sfp-community/environment-management/pools/scratch-org-pools/pool-operations/fetch-a-scratch-org.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
