# Automatically Apply Badges to Group Members (in Hosted Version)

**URL:** <https://meta.discourse.org/t/automatically-apply-badges-to-group-members-in-hosted-version/63728>\
**Category:** Product Support\
**Created:** [Junho 1, 2017, 11:58am UTC](https://meta.discourse.org/t/automatically-apply-badges-to-group-members-in-hosted-version/63728 "2017-06-01T11:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![apautler](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@apautler](https://meta.discourse.org/u/apautler)\
**Post date:** [Junho 1, 2017, 11:58am UTC](https://meta.discourse.org/t/automatically-apply-badges-to-group-members-in-hosted-version/63728/1 "2017-06-01T11:58:29Z")

</div>

I’d like to automatically apply certain badges to users in certain groups. [In searching the forum](https://meta.discourse.org/t/automatically-grant-a-badge-for-all-members-of-a-group/18147), it appears this may be possible via SQL queries, etc. We are on the hosted plan, so that is not possible. In talking with Discourse support, it appears a solution might be to make an app/script that uses the API to apply the badge to users in a groups. Two questions with this:

1. Has someone done this already and would be willing to share?
2. How would I implement an app/script that uses the API within the hosted forum setup?

---

_[View the full topic](https://meta.discourse.org/t/automatically-apply-badges-to-group-members-in-hosted-version/63728)._
