# Create Speech Resources

* [ ] Sign up: <https://aka.ms/CognitiveServicesFree>
* [ ] Create a Speech Resource
* [ ] Get the Key & Region of your resource
* [ ] Save it as your .env file&#x20;

{% hint style="danger" %}
Remember to add your .env file to gitignore and never commit your key to Github
{% endhint %}

{% code title="sample.env " %}

```bash
SPEECH_KEY="paste-your-speech-key-here"
SPEECH_REGION=westus2
```

{% endcode %}

* [ ] Check out [Speech Studio](https://speech.microsoft.com/portal?WT.mc_id=aiml-8567-ayyonet)


---

# 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://www.xrdev.app/mixed-reality-docs/webxr-lessons/babylon.js/project/create-speech-resources.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.
