# Overview

Given a directory of artifacts and a target org, the **deploy** command will deploy the artifacts to the target org according to the sequence defined in the project configuration file.

```
// Command to install set of artifacts to devhub
sfp install -u devhub --artifactdir artifacts
```

### Sequence of Activities

The install command runs through the following steps

* Reads all the sfp artifacts provided through the artifact directory
* Unzips the artifacts and finds the latest sfdx-project.json.ori to determine the deployment order, if this particular file is not found, it utilizes sfdx-project.json on the repo
* Read the installed packages in the target org utilizing the records in SfpowerscriptsArtifacts2\_\_c
* Install each artifact from the provided artifact directory to the target org based on the deployment order respecting the attributes configured for each package


---

# 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/installing-an-artifact/overview.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.
