Manage connections
Manage connections
Create profile
To start collaborating on designs, you need to connect to an Ondsel Lens server. To do that, you need at least one connection profile. Follow these steps to create one:
- Click on (no profile selected) at the top of the Lens window in FreeCAD and select Manage Profiles.

- In the newly opened dialog, click on Create Profile.
- Set the name of the profile that will be displayed in the drop-down list in the Ondsel Lens UI. Try to give it a meaningful name.
Please note that you cannot rename a profile in the future.
- Insert the URL of the Lens server and the Lens API. For locally running instance of Lens, both will likely be
http://localhost:3000/. - Submit the email you registered on Ondsel Lens with and click OK.

- Click on Close to quit the profile management in Lens.
Connect to a server
- Click on the drop-down list at the top of Ondsel Lens UI, then select Profile > {name of a profile}. The color of the Lens addon logo will change to green.

Click on the drop-down list at the top of Ondsel Lens UI, then select Log in.
Submit the password in the newly opened dialog and click on Login.

- The Lens addon will attempt to connect to the server and change the icon color to orange in case of success.

Edit profile
You can change most parameters of an existing connection profile. To do that, follow these steps:
Click on the Lens menu and select Manage Profiles.
Select a profile and click on Edit Profile.

- You can change Ondsel Lens URL, Ondsel API URL, and the email address in the profile. The name cannot be changed.

- After changing the settings, click on OK and then close the Manage Profiles window.
Delete profile
You can delete an existing connection profile. To do that, follow these steps:
Click on the Lens menu and select Manage Profiles.
Select a profile and click on Delete Profile.

- Click on Yes in the confirmation window and then close the Manage Profiles window.