Skip to Content

How to create a custom login page in Jitterbit App Builder

If you are looking to modify the App Builder Login page, this article outlines the recommended best practice. Following this method is preferred to alternative methods as this approach will preserve your changes when upgrading App Builder in the future. Alternative methods such as scripting against the database or unsealing App Builder are not recommended and will not be preserved on update.

Images can either be Base64 encoded with proper syntax or you can upload the image direct to App Builder (preferred method) to use an image on the App Builder Login Page. Please see the section titled To Use an App Builder Hosted Image for steps on that configuration. Here is a link to a Base64 image encoder site: https://www.base64-image.de/. Instructions are provided below on how to generate a Base64 encoded image.

If you are going to upload the image to App Builder, go to the App Builder IDE > Look and Feel > Images > select the Collection your app is using > click +Image and upload the image. After it has been uploaded, you can click the popup icon to expand the Image detail information and right-click on top of the image as it appears in the Photo section. See section below on To Create a Custom Login Theme for step by step instructions.

When referencing image paths in Themes, the exact syntax may differ slightly depending on how the App Builder hosting URL has been configured. The recommended way to reference an image path is to start the path value with ./, for example ./service/image/153f5b0b-c367-4409-a428-23813b6a5ab2.

To push a new Login theme from Development > QA > Production, save your custom Theme to your Theme Collection that is making the Dev > QA > Prod trip.

Important

App Builder only supports one custom Login Theme per site. Upon saving your Custom Login Theme that implements the App Builder Login Base Theme, App Builder will immediately use this instead of the Login Base if it exists.

To create a custom login theme

customexample.png

  1. Navigate to Look and Feel
  2. Confirm you have a Collection selected that you can modify
  3. Click + Theme
  4. Provide an identifiable Theme Name for the new custom Theme. For example: Customer Login Theme
  5. Select "Login Base Theme" as the Base Theme
  6. Click the Save button
  7. Select Login form from the Components panel
  8. Click the + Style button under the Styles panel
  9. Select Login logo as the Area
  10. Select Background Image as the Style Type
  11. Enter the properly formatted syntax for a Base64 encoded image. For example:

    `data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7`
    
  12. Enter Technical Help description, and click Save

  13. Log out of App Builder and refresh your browser. You should now be able to see the custom image appear on the App Builder login screen.

To create a Base64 encoded background image

  1. To generate the proper Base64 encoding for your image, we recommend using the online site: https://www.base64-image.de/

    Base 64

  2. Drag and drop or click the "Or Click Here" button to upload your JPG, PNG or GIF image file

  3. After your file is finished processing, click on the resultant Show Code button
  4. Click the Select all button in the For use in <img> elements section

    Base 64 code

  5. Click the Copy to Clipboard button

  6. This is the properly formatted image code syntax you will paste into the Background image value in App Builder on your custom Login theme

To use an App Builder hosted image

  1. Navigate to the IDE > Look and Feel
  2. Add the image you want to use to a Collection that your application has access to
  3. After you've added the image, click on the corresponding Open Record icon
  4. Scroll to the Relative URL field and click the Copy button
  5. Follow the instructions above for "To Create a Custom Login Theme"
  6. At step 12, input the copied to clipboard syntax for your hosted image. It will look something like /service/image/ImageID, where ImageID represents the unique value copied to your clipboard. For example: /service/image/2bc0d8a0-2cd7-4e8d-b074-eebfb1b9b6d2
  7. Review the image path Value and if it does not start with ./ manaully adjust as needed
  8. Enter Technical Help and Save

Additional customization examples

Many areas of the Login form can be customized, beyond the logo described previously. To customize other areas of the Login form you can leverage the different available Component – Subcomponent styles available in the Look and Feel > Themes area of App Builder. Some examples are described below.

Advanced aspects of customization may require you to work with custom theme interfaces. For example, if you want to target one but not all buttons appearing on the login form you could write a custom Interface to target just one of the buttons.

Target the login form header

signinwithtarget.png

  1. Navigate to the Custom Login Theme defined for your Login form
  2. Select Login form from the Components panel
  3. Click + Style from the Styles panel
  4. Select Login Form Header as the Area
  5. Select the appropriate Style Type for the customization. For example: "Background Color" if you're looking to change the color of the region
  6. Provide the appropriate Value information. For example: darkviolet

    1. If your Theme has defined Primary, Secondary, and Complementary colors defined you may need to append !important to the Value. For example: darkviolet!important
  7. Click Save

  8. Exit out of App Builder and refresh your web browser to test results

Target the sign in button

targetsignin.png

  1. Navigate to the Custom Login Theme defined for your Login form
  2. Select Controls form from the Components panel
  3. Click + Style from the Styles panel
  4. Select Button as the Area
  5. Select the Style Type as appropriate to customization. For example: "Background Color" if you're looking to change the color of the region
  6. Provide the appropriate Value information. For example: #ffa500

    1. If your Theme has defined Primary, Secondary, and Complementary colors defined you may need to append !important to the Value. For example: #ffa500!important
  7. Click Save

  8. Exit out of App Builder and refresh your web browser to test results

Target the form controls

formcontrols.png

  1. Navigate to the Custom Login Theme defined for your Login form
  2. Select Controls from the Components panel
  3. Click + Style from the Styles panel
  4. Select Form Control as the Area
  5. Select the Style Type as appropriate to customization. For example: "Background Color" if you're looking to change the color of the region
  6. Provide the appropriate Value information. For example: #ffff60

    1. If your Theme has defined Primary, Secondary, and Complementary colors defined you may need to append !important to the Value. For example: #ffff60!important
  7. Click Save

  8. Exit out of App Builder and refresh your web browser to test results