You're expected to know what the word Webhook, JSON means before you proceed with this documentation.
Welcome to the documentation for midjourney plugin This guide will walk you through the process of setting up and configuring the plugin on Bubble, as well as integrating it with a third-party service.
Follow these steps to set up the plugin on your Bubble app.
Begin by installing the plugin from the Bubble Plugin marketplace.
After installation, configure the plugin by performing the following steps:
1. Open your Bubble editor and navigate to the app you want to install the plugin on.
2. Go to the Plugins tab and search for the plugin
3. Click on the plugin and follow the prompts to add it to your app.
4. Go to the page on your app where you want to use the plug in and in the elemment tabs, you will see an element named “NextLeg01” drag and add it to your bubble app page.
NOTE: the element will require three parameters:
(i) nextleg_token
(ii) json_url (getting json-url in 3.0)
(iii) json_url (getting json-url in 3.0)
5. To Input prompt, add an input element and give it the ID Attribute “promptInput”
6. To send the prompt , add a button and give it the ID Attribute ”Send”
7.To preview the images being generated, add a visual element shape and give it the ID Attribute “gridContainer”
(i)Create a webhook url for receiving incoming data from nextleg- api and add it as your webhook url in your nextleg-api account dashboard.
(ii)Configure your backend so the webhook saves the response it gets each time in a database.
In this section, we'll guide you through how to get your json_url and what it does.
Your json_url and json_url2 are simply link that returns the json of the generated images that was added to the database through your webhook url. the way you will implement this will be based on what you used for your backend and database.
- Webhook : follow this link
- Json_url: follow this link
- Json_url2: follow this link
Fill free to contact the developers ( ready to offer assistance incase you encounter any difficulty while setting up the plugin in your bubble.io project.\
Congratulations! You've successfully set up and configured the midjourney plugin on Bubble and integrated it with your own webhook endpoint If you encounter any further issues or need assistance, please contact our support team . This documentation provides a comprehensive guide to help users set up your Bubble plugin and integrate it with other services.