# 1. Configure the Provider

To use the `ephemeral-kubernetes` provider, all you have to do is add it to your project configuration and assign an environment to it.

```yaml
apiVersion: garden.io/v1
kind: Project
environments:
  - name: ephemeral
providers:
  - name: ephemeral-kubernetes
    environments: [ephemeral]
```

(If you're not yet familiar with Garden configuration files, see: [Configuration files](/bonsai-0.13/using-garden/configuration-overview.md))


---

# 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.garden.io/bonsai-0.13/k8s-plugins/ephemeral-k8s/configure-provider.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.
