Skip to main content









How to create a LifeTime Plugin

  • Edit
    Collaborate with us
    Edit this page on GitHub
  • Plugins are special applications that are seamlessly integrated into LifeTime:

    image alt text

    To create a LifeTime plugin:

    1. In the URL of your LifeTime environment, type LifeTimeSDK.

    2. Follow the 'click here' link at the end of the page.

      image alt text

    3. Choose your LifeTime plugin development environment

    4. Install LifeTime SDK on the environment. If you have a LifeTime already installed in that environment, the LifeTime SDK installation will fail. In this case, you must remove LifeTime from the environment before proceeding with LifeTime SDK installation, which involves deleting LifeTime's applications. Note: If you disable LifeTime's applications without deleting them, you won't be able to install LifeTime SDK.

      image alt text

    5. Take this opportunity to also export sample data to your plugin development environment. This is important because all the data provided by the APIs is located in LifeTime's server, so if you call any API action from a Development server, those calls won't return any data unless, of course, you have exported it to that environment.

      image alt text

    6. Now you can start the coding part. It can be done in two different ways:

      • By clicking on the Start developing you plugin now link:

      image alt text

      • By creating a new application in Service Studio while connected to the environment where the SDK was installed. A new template for LifeTime plugins should now be present:

      image alt text

      This template already has:

      • The bootstrap action to register the plugin in LifeTime
      • The webservice to configure if the plugin is visible to the current LifeTime user
      • A UI template and styles to make your plugins look like part of LifeTime
      • All the APIs ready to use!

      image alt text

    7. Check the sample plugin. In Forge a sample plugin called Infrastructure Monitor gives you an infrastructure monitoring tool for platform servers.

      image alt text

    8. Plug it. Because the plugin was developed in a separate environment from LifeTime, you need to integrate it once you finish developing and testing it. For that, simply grab the solution and publish it in the LifeTime environment's Service Center.

    • Was this article helpful?