Getting Started

Atlas builds on top of the Cyclops project and includes the Global Menus project to render and manage a shell around your satellite application.

Since Cyclops is required for Atlas to function, you must first include and configure Cyclops for your project. Next, you will need to include the Atlas bundle, a single JavaScript file that includes all of the resources required to use Atlas (i.e. stylesheets, images, templates, etc).

To launch Atlas, you will need to make a call to Atlas.liftoff() with the options specific to your satellite application. These options are documented in the Liftoff API reference.

Authentication w/Auth0 (Do Not Use)

Atlas supports SSO authentication with Auth0 but we no longer pay for the service. This feature should not be used and no timeline on converting Atlas to use new CenturyLink Master Account application.

If you do need to use Auth0 for SSO, please see the Liftoff API for information on enabling it.

Simple Example

Use the following example to get started with your integration. You will need to customize the options passed to `liftoff()` before this will be functional.

<!DOCTYPE html>

<html class="cyclops">
    <link rel="stylesheet" href="">

    <!-- These elements will be injected automatically if they are not present
         at the time of liftoff. Include them in your document for a quicker and
         less jarring rendering experience. -->

    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>
    <script src=""></script>

      $(function() {
        var liftoffOptions = {

          // You can specify 'dev' or 'prod' to point to the Control Portal
          // instance that API calls will be sent to for things like branding,
          // access checks, etc. You can also configure this manually (see
          // the Liftoff API).
          env: 'dev',

          // You will need to use the main navigation id that was assigned
          // to you by Platform here:
          mainNavId: 'Main.Dashboard',

          // If you are not using SSO, you need to provide the username
          // and bearer token of the currently authenticated user:
          username: '',
          bearerToken: '...'

          // If you want to support having an account menu link - 'My CenturyLink Master Account'.
          masterAccountUrl: ''

          // Do not use this settings as we no longer use/support Auth0
          // When using Auth0 for SSO, use the following to trigger the
          // authentication workflow instead of passing the username and
          // bearer token:
          authenticationEnabled: true

        Atlas.liftoff(liftoffOptions).then(function(contexts) {
          console.log('Liftoff Achieved!');
          console.log('Atlas Contexts:', contexts);