Learn how to get started with Mockoon Cloud, a cloud-based service that allows you collaborate on your mock APIs with your team
In this tutorial, we will learn how to get started with Mockoon Cloud, a cloud-based service that allows you to collaborate on your mock APIs with your team, deploy your mock APIs to the cloud, and generate HTTP endpoints with our AI assistant.
Before starting this tutorial, make sure you signed up and subscribed to a Mockoon Cloud plan. If you haven't done it yet, you can sign up here. Our plans are available for individual developers and teams. You can also try Mockoon Cloud for free with our 7-day trial.
After signing up for Mockoon Cloud, you will be able to access all the premium features in the desktop application. To fully benefit from your Mockoon Cloud plan, make sure you have the latest version of the desktop application installed.
Head to the download page to get the latest version of the desktop application.
To enable Mockoon Cloud features, you need to log in to your account in the desktop application using the user menu in the top right corner of the application.
If you are already logged in, you can also click on "Refresh account information" in the account menu.
Once you are logged in, you should see your account information in the account menu.
After creating your first mock APIs, you are now ready to deploy them to the cloud. You can indifferently deploy local or cloud environments to Mockoon Cloud.
To deploy an environment, click on the "Deploy to the cloud" menu entry in the environment menu.
You can then configure your instance and deploy your mock API by clicking on the "Deploy" button.
Currently, you can configure the instance visibility. More options will be available in the future.
The visibility of the environment can be set to public or private. Here are the differences between the two:
Authorization
header to access the environment.Your mock API will be available in the cloud on a unique URL in the form of https://mock-abcd1234.serverid.mockoon.app
. You can share it with your team and use it in your applications.
You can view and manage your deployments at any time by clicking on the "x instances deployed" button at the bottom of the application.
From the management dialog, you can re-deploy or delete the instance.
To learn more about cloud deployments, the supported features and limitations please read the documentation.
As soon as you are logged in, you will be able to create cloud mocks and synchronize them between your devices or collaborate in real time with your team.
Cloud environments are automatically synchronized with the cloud and between your devices as soon as they are created or updated.
You can always use local environments for your personal projects as they are not synchronized with the cloud.
Do not forget to invite your team members to collaborate on your mocks.
For more details on data synchronization and team collaboration features, head over to the dedicated documentation
Finally, you can generate JSON templates and HTTP endpoints using our AI assistants. They allow you to create realistic responses based on your prompt. It's perfect for quick prototyping and testing.
Our AI assistants are available in the "Add endpoint" menu.
You can read more about the AI assistants and JSON templates in our documentation
If you are on a team or enterprise plan, you can invite your team members to collaborate on your mocks.
To invite team members, head to the users management page and click on the "Add user" button and fill in the email address of the user you want to invite.
Learn how to create global rules to protect all your routes at once.
Read moreLearn how to use Mockoon's CRUD routes to create a full mock REST API and manipulate resources with GET, POST, PUT, PATCH, and DELETE requests.
Read moreLearn how to access environment variables in your mock server templates to avoid exposing your API keys.
Read more