        console.log(`agent loaded from: ${interopHost}, connecting as app: ${appId}`);
        mod.createAgent(interopHost, appId, {
          logLevel: 'debug',
          props: {
            loginStyle: 'newWindow',
          },
          onFDC3Ready: async (fdc3) => {
            const info = await fdc3.getInfo();
            console.log('onFDC3Ready - info', info);
            fdc3.addIntentListener('GetTerms', async (ctx) => {
              return {
                    type: 'fdc3.terms',
             