-
The CLI is currently distributed as source. Get the source:
% npm install @c12e/cortex-cli -
Follow the repo's README.md
-
The generator is currently distributed as source. Get the source:
% git clone git@bitbucket.org:cognitivescale/generator-cortex.git -
Link the source:
% cd ~/projects/generator-cortex
% npm link
- Current skill development happens in a cross-tenant shared space.
- It is prudent to use some convention to identify your work from others' work.
- Current proposal is to prefix all cloud functions (lambdas) with a short project name (e.g. 'cba').
- Choose a such a name, and consider using the same for account name in tenant setup below.
- Ask for an invitation code from cortex development team. (You will use this during registration)
- Create an account on Cortex: https://console.cortex.insights.ai/
- Register link
- Fill in form and register
- Use the invitation code
- This is the tenant setup, not developer setup. Consider using a mailing list email address.
- Keep the administrator ID different from developers.
- CogScale engineers -- consider keeping @cognitivecloud.com address for admin users, and the @cognitivescale.com address for developer access
- Users' ids are derived from their email addresses, so consider using something like
adminfor the administrative userid.
- Re-login to ensure tenant setup completed. * Your password manager may have captured your email address as the login; that will not work. Instead, use the admin userid.
- Use the left navigation to go to the Users section
- Invite user -- invite yourself. Need to use a real email address.
- Check email, and copy Register link
- Open an incognito window -- or use another browser -- to open the link
- Fill out the user registration, using a different email address from the administrative email
- Ensure that your login works at https://docs.cortex-dev.insights.ai
→ This only needs to be done once per machine, but is easiest once you have login credentials to Cortex.
- Tutorials → Getting Started with Cortex Studio
- Download studio
- By default, studio is pointing the production install of cortex. Update this to point at the development install of cortex following the instructions on the download page.
- Start studio, and log in using the developer credentials
- Use the
configurecommand:
% cortex configure
- Use the API URL (https://api.cortex.insights.ai)
- Use the developer credentials you created above
- Perform a quick check to make sure your configuration and credentials are correct:
% cortex agents list