Create Application

Create Application #

The CoSync Portal allows developers to manage multiple applications, each of which encompasses a set of users. The portal offers features for creating, modifying, and removing applications, as well as managing users within each application.

An application in the CoSync Portal corresponds to a MongoDB Realm Application being developed by the developer, utilizing JWT authentication (or social login). The relationship between a CoSync application and a MongoDB Realm Application is one-to-one. In the previous Realm Cloud product, an application was referred to as a Realm instance.

As a developer, you have the chance to explore the robustness of the CoSync Auth authentication system through the SANDBOX area in the CoSync Portal. Within this secure environment, you can freely create up to 20 applications, each supporting up to 50 users, enabling you to become intimately familiar with the inner workings of CoSync Auth. Additionally, you’ll have the privilege of installing up to 5 instances of the highly regarded CoSync AssetLink module. This exceptional opportunity offers you the chance to gain hands-on experience and delve into the technical intricacies of CoSync Auth. So, seize the moment and take this invitation to venture into the world of CoSync Auth at your own pace. Happy exploring!


createapp1


Create a CoSync App #

Developing a CoSync application through the CoSync Portal is remarkably straightforward. To initiate the process, simply click the `Create New App`` button situated in the SANDBOX tab of the interface. Each application you build necessitates a corresponding entry within the CoSync Portal, acting as the repository for its authenticated users. This application can either reside within the SANDBOX environment or on a self-hosted server that remains under your control as the developer. The CoSync Portal empowers you to configure and manage the authentication parameters associated with your application. In the following example, you’ll craft an application named TotoApplication.


createapp1


SANDBOX vs Self-Hosted #

As a developer, it is essential to furnish a unique application name, ensuring its distinctiveness within the subset of applications owned by you on the SANDBOX or a designated self-hosted server.

Congratulations, you have created your first application:


createapp1


Using the SANDBOX comes at no cost and serves as an ideal platform for your evaluation of the CoSync Auth technology as a developer. Once you are confident that CoSync Auth aligns with your project’s requirements, the next step involves setting up a self-hosted CoSync Auth server – a straightforward process. The inherent advantage of the self-hosted solution lies in the complete control you, as a developer, possess over all user authentication data, which operates within your infrastructure. Unlike SAAS authentication solutions, the self-hosted CoSync Auth server does not entail any pay-per-user fees; the expenses are limited to your server installation costs, which are comparably economical.