When starting with Membrane, the first thing you probably want to do is run some drivers for APIs you want to use.
To install a driver from the directory, go to the
New -> Directory. Any dependencies will be installed automatically.
If you can't find a driver for the service you need, you can always write one yourself! If you decide to build a driver, feel free to let us know on Discord and can probably help you.
To run a driver which is not in the directory, simply clone it from Github into your Membrane workspace (
and then hit
Deploy in VSCode or update it via the CLI:
$ git clone https://github.com/juancampa/membrane-driver-github.git ~/membrane/github $ membrane update github
NOTE: we're actively working on making the process more streamlined. Suggestions are more than welcomed.
Most drivers need API credentials or some other setting to connect to their corresponding service. If that's the case, a
driver will, by convention, expose a
configure action which should be invoked
after running it for the first time.
Remember that Membrane is BYOK (Bring Your Own Key). For every service you connect to, you must get an API key or access token from them. Membrane itself doesn't get access to your services! Your program do.
You can also run an exit-node with a transformer to inject your API keys privately:
$ mctl exit-node -t transformer.js