# How to use $ref to take information from environment

**URL:** <https://community.postman.com/t/how-to-use-ref-to-take-information-from-environment/1365>\
**Category:** Help Hub\
**Tags:** environments, ref\
**Created:** [April 4, 2018, 7:43am UTC](https://community.postman.com/t/how-to-use-ref-to-take-information-from-environment/1365 "2018-04-04T07:43:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alzarka](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@alzarka](https://community.postman.com/u/alzarka)\
**Post date:** [April 4, 2018, 7:43am UTC](https://community.postman.com/t/how-to-use-ref-to-take-information-from-environment/1365/1 "2018-04-04T07:43:27Z")

</div>

I’m making schema tests. And I want to store all schema’s that I will need to reuse into environment and then take them by using $ref. Is this possible? And can I have an example on how to do it?

---

<div class="post-metadata">

**Author:** ![kunagpal](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kunagpal/32/9_2.png) [@kunagpal](https://community.postman.com/u/kunagpal)\
**Post date:** [April 6, 2018, 9:24am UTC](https://community.postman.com/t/how-to-use-ref-to-take-information-from-environment/1365/2 "2018-04-06T09:24:33Z")

</div>

See [How to save schema to environment and reuse it after](https://community.postman.com/t/how-to-save-schema-to-environment-and-reuse-it-after/1359)
