# S3 upload

In the root of the plugin project you will find a scripts folder that holds on some builtIn scripts we run on deploy, you can see that there is a file named `upload.js` This script can upload all of the plugin files to a S3 bucket of your choosing.

Run the following command to upload your plugin

```bash
npm run upload:s3 S3_BUCKET_NAME=$S3_BUCKET_NAME S3_REGION=$S3_REGION S3_ACCESS_KEY=$S3_ACCESS_KEY S3_SECRET_ACCESS_KEY=$S3_SECRET_ACCESS_KEY
```

This will first execute

```bash
npm run build
```

Then it will execute the `./scripts/upload.js`file.

The plugin path will be formatted as following

\[S3\_URL\_PATH]/\[PLUGIN\_BUNDLE]/\[VERSION replacing dots with dashes`./-`]

Example of manifest path

```
https://s3-eu-west-1.amazonaws.com/your-bucket-name/se-infomaker-dashboard-plugin/1-0-0/manifest.json
```


---

# 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.navigaglobal.com/dashboard-plugin/s3-upload.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.
