--- title: "Test the Application" url: https://docs.catalyst.zoho.com/en/tutorials/leadmanager-appsail/springboot/test-app/ description: "Build a Lead Manager application and host it on AppSail. The app connects to your Zoho CRM account using Catalyst connectors, and enables you to view, create, update, or delete leads from the Leads module in your CRM." last_updated: 2026-08-17T12:16:04Z service: All Services type: tutorial related_links: - name: "CLI Help Documentation" url: /en/cli/v1/cli-command-reference/ - name: "Serve Resources" url: /en/cli/v1/serve-resources/introduction/ --- # Test the Application Before you deploy the application to the remote console, you can [test the application on a local server](https://docs.catalyst.zoho.com/en/cli/v1/serve-resources/introduction) and check if everything works fine using the Catalyst CLI. To serve the Catalyst project locally, execute the following command from your project directory: ```sh catalyst serve ``` The Lead Manager application will now be served at default `port 3000`. The local endpoint URLs of the components are displayed. > **Info:** Every time you access the home page or any of the sub-pages of your client or the function, the CLI will display a live log of the URL accessed, along with the HTTP request method. > **Note:** Ensure you have provided the required **Authorized Redirect URIs** when you [registered the client in Step **4**](https://docs.catalyst.zoho.com/en/tutorials/leadmanager-appsail/express/register-client/). ![catalyst_tutorials_leadmanager_appsail_springboot_cli_screen](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_springboot_cli_screen.webp) You can now open the application in a browser using the local URL of the client displayed in the CLI. You will initially be redirected to the login page. If you configure a sign-up action on your own, you can sign up first, then log in to the application. Alternatively, you can also log in using the *Zoho Social Login*. ![catalyst_tutorials_leadmanager_appsail_serve_1](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_1.webp) You will be redirected to the permissions page. Accept the permissions requested by the app to access your Zoho account details. You will then be redirected back to the application. Click the **Zoho CRM** icon in this page to connect to Zoho CRM. ![catalyst_tutorials_leadmanager_appsail_serve_crm_icon](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_crm_icon.webp) You must now **choose the CRM account** that you wish to connect with the Lead Manager app, then click **Submit**. ![catalyst_tutorials_leadmanager_appsail_serve_choose_portal](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_choose_portal.webp) All your existing developer, sandbox, and production accounts will be listed. Click **Accept** to allow the *Lead Manager* app to access your Zoho CRM modules. ![catalyst_tutorials_leadmanager_appsail_serve_accept_action](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_accept_action.webp) You will be redirected back to the application. You can now create and manage leads in your configured Zoho CRM account directly from this application. To add a lead, enter the details of the lead in the *Add a Lead* section and click **Add Lead**. ![catalyst_tutorials_leadmamanger_appsail_serve_adding_lead](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmamanger_appsail_serve_adding_lead.webp) A confirmation pop-up will display the status every time you add, edit, or delete a lead. ![catalyst_tutorials_leadmanager_appsail_serve_confirmation_popup](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_confirmation_popup.webp) You can click the **Manage Leads** tab to view all your leads from the *Leads* module. You can **edit** or **delete** any of them by clicking their respective icons in the table. ![catalyst_tutorials_leadmanager_appsail_manage_leads_edit_del](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_manage_leads_edit_del.webp) You can update a lead’s information, then click **Edit**. ![catalyst_tutorials_leadmanmager_appsail_serve_edit_lead](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanmager_appsail_serve_edit_lead.webp) If you click the **delete** icon, you must confirm the action in the confirmation pop-up. ![catalyst_tutorials_leadmanager_appsail_serve_delete_lead](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_delete_lead.webp) You can also check the *Refresh Token* and `userID` values populated in the **Data Store** from your Catalyst console. Navigate to the **Data View** section of the *Token* table to view the record that was added. ![catalyst_tutorials_leadmanager_appsail_serve_datastoreview](https://catalyst-docs-development.zohostratus.in/images/tutorials/leadmanager-appsail/catalyst_tutorials_leadmanager_appsail_serve_datastoreview.webp) If you delete this entry, you will have to authenticate your credentials in the client application and establish a connection to your CRM account again. You can log out of the application by clicking **Logout**. You can quit the `serve` session in your terminal by executing the command to kill a running process, based on your OS. If this setup is working correctly, we can deploy the application to production.