# Custom policies and Rasa X

**URL:** <https://forum.rasa.com/t/custom-policies-and-rasa-x/47851>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [September 20, 2021, 11:36am UTC](https://forum.rasa.com/t/custom-policies-and-rasa-x/47851 "2021-09-20T11:36:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arneverster](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arneverster/32/9376_2.png) [@arneverster](https://forum.rasa.com/u/arneverster)\
**Post date:** [September 20, 2021, 11:36am UTC](https://forum.rasa.com/t/custom-policies-and-rasa-x/47851/1 "2021-09-20T11:36:54Z")

</div>

Hi there!

I’ve created a new custom policy that sits at the root level of my Rasa project.

`custom_policies/ButtonPredictionPolicy.yml`

I then imported the policy in the `config.yml` file. It works in the Rasa shell, but now in production, I want to add this custom policy to the Rasa docker container running on the EC2 server.

How do I go about adding this policy to the Rasa docker container?
