See colonySDK and colonyStarter for more information.
Check out the source code for the examples here.
These demos interact with LIVE Colonies on Gnosis chain. We recommend to use the Colony RPC endpoint directly.
These demos interact with a local development RPC endpoint (see here on how to set it up). MetaMask is not needed, the examples provide a wallet account.