# How do you pull in data from the DB for your theme components?

**URL:** <https://meta.discourse.org/t/how-do-you-pull-in-data-from-the-db-for-your-theme-components/143995>\
**Category:** Development\
**Created:** [March 12, 2020, 5:00am UTC](https://meta.discourse.org/t/how-do-you-pull-in-data-from-the-db-for-your-theme-components/143995 "2020-03-12T05:00:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [March 12, 2020, 6:11pm UTC](https://meta.discourse.org/t/how-do-you-pull-in-data-from-the-db-for-your-theme-components/143995/6 "2020-03-12T18:11:25Z")

</div>

[https://meta.discourse.org/t/how-to-add-a-featured-topic-list-to-your-discourse-homepage/132949](https://meta.discourse.org/t/how-to-add-a-featured-topic-list-to-your-discourse-homepage/132949)

This guide shows how to do this with a specific tag, but you can replicate this approach with any endpoint really.

---

_[View the full topic](https://meta.discourse.org/t/how-do-you-pull-in-data-from-the-db-for-your-theme-components/143995)._
