# Environment

## # unSkript Environments

{% hint style="info" %}
NOTE: Environments are only available online, and not in the Docker deployment.
{% endhint %}

It is pretty common to have multiple environments for your cloud (dev, staging, production, etc.), each using similar infrastructure, but with different credentials.

With unSkript environments you can configure your xRunBooks to run in all of your environments with no modifications. This ensures that the XRunBook is the source of truth, and there is no worry about source control across your environments.

### Creating an Environment

1. Navigate to the Proxy you wish to add an environment to. Click "+Add Environment." You'll be prompted to name your environment

<figure><img src="/files/ybwJkHxuZNOYWmz9mZMS" alt="Naming your environment"><figcaption></figcaption></figure>

2\. You'll next be prompted to select some of the services that will connect to the environment. In the example below, AWS and Slack are selected:

<figure><img src="/files/bt3cHXp1aofddjcHe5j8" alt="Connection picker"><figcaption></figcaption></figure>

3\. Your environment will be created. Now, it is time to edit your Connectors. In the list of environments, click your new environment, and "Open Details."

<figure><img src="/files/uYKTaGZtC9rMLw4pB0sL" alt="screenshot of a new environment"><figcaption></figcaption></figure>

Now, we will edit each Connection with the credentials needed to connect to the service. We have [detailed instructions](/unskript-documentation/connnecting/connectors.md) for each connection type. Additionally, add a ServiceId to each Connection. In this case, we'll use ServiceId with the format "\<appname>\_\<connection>" - meaning that we'll use 2 ServiceIds here: "test\_aws" and "test\_slack":

<figure><img src="/files/ly7ocmBwKRhYUGSm4Jx5" alt="connectors with added credentials"><figcaption></figcaption></figure>

Now, you can create a similar environment called "test\_production", and add in different credentials for AWS and Slack (but be sure to use the same ServiceId value):

<figure><img src="/files/033Rf3KSGk43h9YEsmzD" alt=""><figcaption></figcaption></figure>


---

# 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.unskript.com/unskript-documentation/connnecting/proxies/connect-your-environment.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.
