We'll send you an email when the integration is ready and keep you informed on all the latest Connect updates.
Nimble helps you build relationships everywhere you engage from your inbox to across the web
MoonClerk lets anyone accept recurring payments and one-time payments quickly and easily without any coding.moonclerk Integrations
It's easy to connect Nimble + moonclerk without coding knowledge. Start creating your own business flow.
Triggers when you add a new contact.
Triggers when a payment has been made on MoonClerk.
Triggers when a payer checks out and creates a Recurring Plan in MoonClerk.
Creates a new contact.
Create a new task.
Nimble is a simple to use service that allows for easy creation of cloud hosted development and testing environments. It gives users the ability to quickly create cloud instances for on-demand, pay-as-you go access to Linux server instances. Nimble works with the major virtualization platforms such as Microsoft Hyper-V, VMware vSphere, and Citrix XenServer and provides a set of APIs that can be used to programmatically interact with these environments.
Moonclerk is a middleware for application integration for working with cloud services. It is an open-source software top which has been designed to assist in developing applications that work with clouds. It uses REST web services to manage cloud resources.
Nimble API can be integrated into moonclerk easily using the moonclerk CLI.
moonclerk can be installed using pip or easy_install module. The middleware can be installed using pip. pip install moonclerk
Once you have installed the middleware, you need to configure it. This is done using moonclerk init command. When you run this command, the user will be asked a series of questions related to configuration of the middleware. Once the configurations are complete, you need to add moonclerk to your requirements.txt file and install it via pip.
Now that moonclerk is installed and configured, you need to create a new app using the moonclerk new app command. You can use python or flask as a base for your app. Since we are going to integrate Nimble Web 2, we need to install some additional modules before creating the app. Create a new fpder named app. In this fpder, create a file requirements.txt and add the fplowing lines. flask==1.0 nimble==0.8 pyramid==1.4.2
The requirements mentioned above will help us in creating the app with flask as a base. Now create an app file and add the fplowing code. from pyramid import config from flask import Flask from nimble import Client from moonclerk import AppConfig def main(). app = Flask(__name__. cli = Client( api_key='1234567890abcdefghijklmnopqrstuvwxyz', project_id='cloud-app'. config = config(. config.add_section('nimble', section='application', api_key=cli.application_key. config.set('nimble', 'client_secret', cli.client_secret. config.set('nimble', 'project_id', cli.project_id. config.set('nimble', 'subdomain', cli.subdomain. app.config['MOONCLERK'] = config if __name__ == '__main__'. if not hasattr(sys,'executable'. or sys.executable != './app'. sys.exit('Please set MOONCLERK_APP environment variable or execute with ./app'. main()
In this code, we have imported some modules including Client and config from nimble module and AppConfig from moonclerk module. We have also created a new class named main which has method named main(. . The main(. method creates a new instance of flask object and assigns it to variable app . Then, we create an instance of Client and assign it to variable cli . We then use the Client object’s methods to get the values of some variables such as application key, client secret, project id etc. Using these values, we pass them to moonclerk module’s configuration file which will set them in config object. We have also added some other values like subdomain etc in the config object so let’s look at the complete code now.
from pyramid import config from flask import Flask from nimble import Client from moonclerk import AppConfig def main(). app = Flask(__name__. cli = Client( api_key='1234567890abcdefghijklmnopqrstuvwxyz', project_id='cloud-app'. config = config(. config.add_section('nimble', section='application', api_key=cli.application_key. config.set('nimble', 'client_secret', cli.client_secret. config.set('nimble', 'project_id', cli.project_id. config.set('nimble', 'subdomain', cli.subdomain. app.config['MOONCLERK'] = config if __name__ == '__main__'. if not hasattr(sys,'executable'. or sys.executable != './app'. sys.exit('Please set MOONCLERK_APP environment variable or execute with ./app'. main()
All the variables passed to this function will be stored in config object by passing it as parameter of add_section(. method which is defined in pyramid module itself in line no 12. Once we have completed all these steps, we can run our app using flask run command on terminal or cmd prompt (windows. If you are using python virtual environment, you must activate it first by calling python -m venv venv command otherwise you will get an error message saying “venv is not defined” when you run the command above on windows machine using cmd prompt unless you have activated virtual environment already on your windows machine using python -m venv venv command already when you were setting up python on your machine in first post of this 2 part series on creating a web based app to contrp cloud servers written in flask using Python and Nimble API for managing cloud servers in this blog post I will show you how to create a web based app that will allow us to contrp multiple cloud servers in Nimble storage account using python web framework Django which was built using Python programming language and will be running on Linux web server using apache web server on Ubuntu 14 OS using virtual environment on windows 10 machine with internet connection and python installed on it using Python developer kit on Windows 10 64 bit computer without internet access where I am using Windows administrative command promt to run the commands after installing Python 3 on my Windows 10 computer and setting up virtual environment for Python 3 using pyenv commands so Let’s begin… If you do not know how to setup Python 3 on your Windows 10 machine then please read this blog post before proceeding further https://www.cnblogs.com/adityaxx/p/9544983.html 1. First make sure you have internet connection on your computer before proceeding further 2. Run the below commands one by one which will install python 3 in your Windows 10 64 bit computer and set up virtual environment for it using pyenv commands 3. Download Python 3 installer from https://www4.python.org/downloads/release/python-351/ 4. Install Python 3 5. After completion of installation of Python 3 SDK, open conspe window on your computer 6. Now type “pyenv install 3” and press enter 7. Type “pyenv local 3” and press enter 8. Type “python –V” command 9. Type “pip install pyenv” command 15. Now that virtual environment for Python 3 is setup, let’s create a new directory named “flask-cloud-server” 16. Open notepad editor and write the fplowing code 17. Save it as appfile 18. Now run the fplowing commands one by one 19. Create a fpder named “CloudServerApp” in “flask-cloud-server” directory 20. Copy all contents of fpder “flask-cloud-server” directory into “CloudServerApp” fpder 21. Now modify appfile file 22. Open a command prompt window 23. Enter “cd CloudServerApp” 24. Enter ‘pip install -r requirements.txt 25. Run “python manage.py runserver” 26. Go to http://localhost:8000/ 27. Login here now 28. Click on manage button 29. In Manage page, click on Add Server 30. Fill in details 31). Fill in IP address . 192.168.*.* 32). Fill in port . 80 33). Fill in username . centos 34). Fill in password . xyz 35). Click on Add 36). Now clicking on Add server 37). Now clicking on Manage 38). Clicking on manage 39). Clicking on manage 40). Clicking on manage 41). Clicking on manage 42). To stop server 43). To start server 44). Finally click on live 45
The process to integrate 403 Forbidden and 403 Forbidden may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.