# Guide for integrating OpenGov to \`substrate-node-template\`

**URL:** https://forum.polkadot.network/t/guide-for-integrating-opengov-to-substrate-node-template/5732
**Category:** Tech Talk
**Tags:** governance
**Created:** [January 18, 2024, 10:14am UTC](https://forum.polkadot.network/t/guide-for-integrating-opengov-to-substrate-node-template/5732 "2024-01-18T10:14:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chungquantin](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/chungquantin/32/3160_2.png) [@chungquantin](https://forum.polkadot.network/u/chungquantin)
#### Post date: [January 18, 2024, 10:14am UTC](https://forum.polkadot.network/t/guide-for-integrating-opengov-to-substrate-node-template/5732/1 "2024-01-18T10:14:18Z")

</div>

Hi Polkadot technical folks,

I have been researching OpenGov for a few days and want to build my substrate node with OpenGov features. I looked over a few pallets `pallet-membership`, `pallet-democracy`, `pallet-collective`, and `pallet-treasury` but integrating those always produces absurd bugs. I don’t know if there is any materials out there for an integration.

---

<div class="post-metadata">

### Author: ![0mm-mark](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/0mm-mark/32/850_2.png) [@0mm-mark](https://forum.polkadot.network/u/0mm-mark)
#### Post date: [January 19, 2024, 5:38am UTC](https://forum.polkadot.network/t/guide-for-integrating-opengov-to-substrate-node-template/5732/2 "2024-01-19T05:38:49Z")

</div>

I am also interested in this subject, with a twist: Is it possible to have OpenGov operate at the level/scope of a para-chain rather than the relay-chain?

---

<div class="post-metadata">

### Author: ![chungquantin](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.polkadot.network/chungquantin/32/3160_2.png) [@chungquantin](https://forum.polkadot.network/u/chungquantin)
#### Post date: [January 19, 2024, 6:15am UTC](https://forum.polkadot.network/t/guide-for-integrating-opengov-to-substrate-node-template/5732/3 "2024-01-19T06:15:06Z")

</div>

I thought the OpenGov was operating both at the para-chain and the relay-chain level? Biofrost, Acala, and Moonbeam also implement OpenGov to their parachain runtime already.

Runtime of Biofrost already has `pallet-democracy` added: [bifrost/runtime/bifrost-polkadot/Cargo.toml at 7b09365c56ec528955c33ddf414a3322382053f0 · bifrost-finance/bifrost · GitHub](https://github.com/bifrost-finance/bifrost/blob/7b09365c56ec528955c33ddf414a3322382053f0/runtime/bifrost-polkadot/Cargo.toml)
