# Connecting to database with a plugin

**URL:** https://meta.discourse.org/t/connecting-to-database-with-a-plugin/52300
**Category:** Development
**Created:** [November 1, 2016, 1:44pm UTC](https://meta.discourse.org/t/connecting-to-database-with-a-plugin/52300 "2016-11-01T13:44:03Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [November 2, 2016, 11:54am UTC](https://meta.discourse.org/t/connecting-to-database-with-a-plugin/52300/4 "2016-11-02T11:54:11Z")

</div>

Start here:

> [@Developing Discourse Plugins - Part 1 - Create a basic plugin](https://meta.discourse.org/t/beginners-guide-to-creating-discourse-plugins/30515):
>
> Building a plugin in Discourse can be really simple, once you learn a couple of quirks. The goal of this post is to create a skeleton plugin and introduce you to the basics. Your development environment Make sure you have a development environment of Discourse running on your computer. I recommend you use [the appropriate setup guide](https://meta.discourse.org/tag/dev-install) and come back when you’re done. plugin.rbtada Use [GitHub - discourse/discourse-plugin-skeleton: Template for Discourse plugins · GitHub](https://github.com/discourse/discourse-plugin-skeleton) to create a complete di…

---

_[View the full topic](https://meta.discourse.org/t/connecting-to-database-with-a-plugin/52300)._
