Artificial Intelligence Corporate Risk
  • Welcome
  • Getting Started
    • Inviting Users
    • Adding New Large Language Models
      • Azure OpenAI Service
      • OpenAI
      • Mistral
      • Google AI
      • LLaMA AI
      • AWS Bedrock
  • Chat
    • Initiating a Chat
    • Viewing Chat History
  • Dashboards
    • Creating Dashboards
    • Dashboard Elements
      • Top N
      • Charts and Graphs
      • Totals
      • Maps
  • Monitoring
    • Adding a User to the Monitor Role
    • Setting up alerts and issues
    • Editing Issues
  • Compliance
    • Adding a User to the Compliance Role
    • Creating a Search
    • Consuming the Results
  • Admin
    • AI Agents
      • Adding a New Agent
        • General Settings
        • Agent Engine Properties
          • Azure OpenAI
          • OpenAI
          • Mistral
          • Google AI
          • LLaMA AI
          • AWS Bedrock
        • Advanced Settings
          • Usage
            • Max Messages
            • LLM Temperature
          • Scanners
            • AI Scanners
            • General Scanners
          • API Keys
          • Files
      • Editing an Agent
      • Deleting an Agent
      • Adding from a Template
    • Company
      • General Information
      • External Agent Provider Settings
    • Custom APIs
      • OAuth2 API
      • Adding a New API
        • API Information
        • API Headers
        • API Endpoint Parameters
        • API Query Parameters
        • Body Parameters
      • Editing a Custom API
      • Deleting a Custom API
    • Custom Database
    • Users
      • Inviting a New User
      • Deleting a User
      • Roles
        • Accessing User Roles
      • Assigning an Agent
      • Setting a Default Agent
    • Groups
      • Adding a New Group
      • Deleting a Group
      • Assigning a User
      • Removing a User
      • Adding an Agent
      • Removing an Agent
    • Agent Scanner Defaults
      • Toxicity
      • Personal Information
      • Topic Scanner
      • Prompt Injection Detection
      • Regex Scanner
      • Geographic Gating
      • Language Detection
      • Allowed File Types
    • Logs
      • Interpreting Logs
  • Server Admin
    • Upgrade
    • Default Agents
      • Adding a New Agent
    • Data Archive
    • API Access
      • Chat
        • List Agents
        • Create Conversation
        • List of Conversations
        • Get Conversations
        • Ask Agent
        • Chat with Agent
        • Add File to Conversation
        • Add Files to Agent
        • Deleting a File
      • OAuth2
        • OAuth2
        • OAuth2 Token
      • Users
        • List Users
        • Create User
        • Add User to Group
        • Set User Token
        • Delete User
      • How to Launch Our API Example
        • How the Code Works
    • Configure OAuth2
    • Custom Secrets
  • API Overview
    • Authentication
    • Calling the Scanner
    • Consuming the Results
    • 📃Pagination
      • Understanding API Parameters
      • Pagination Helper
      • Example Page
      • Recap
    • AIRisk API OAuth2 Authentication
      • Authorization
      • Authorization Endpoint
        • Example Authorization URL
        • Error Responses
      • Tokens
        • Error Handling
        • Generic vs. User-Specific Tokens
          • Example Usage Flow / Reasons
        • Usage of the Access Token
      • Token Endpoint
        • Example Token Request
        • Error Responses
      • Summary of OAuth2 Authorization Flow
  • Managing Your Account
    • Personal Data
  • Support
    • Onboarding Check List
  • Internal Deployment
    • Outlook Plugin
    • Firewall Rules
    • Infrastructure
    • Graph Connection Requirements
    • Zoom Transcripts
  • Example Python Application
  • Release Notes
    • V4.28
    • V4.12
    • V4.0
    • V3.71
    • V3.0 Beta
    • V2.23
    • V2.22
    • V2.120 HotFix
    • V2.103 June 1
Powered by GitBook
On this page

Last updated 1 year ago

What you will need to get started

You will need a few things to create an internal deployment with AI Risk.

  1. Administrative access to create resources and Entra ID Applications within your azure environment

  2. API Keys and Endpoints for your AI Models

  3. (Optional) SMTP Endpoints, usernames and passwords to send emails if you want to send emails through your internal servers

Once you have signed an agreement for the enterprise version of AI Risk you will be provided with a zip file including three documents.

  1. Your licence file (To activate your environment)

  2. ARM Template to Deploy (To create infrastructure)

  3. ApplicationCreate.ps1 (To create authentication application in Azure Entra)

Creating an Azure Entra ID Application (10 Min)

  1. Go to

  2. Sign in with an administrator account or an account with access to create applications in Entra

  3. Select powershell from the prompt

  4. Upload ApplicationCreate.ps1 file using the upload and download file buttons in powershell

  5. Run ./ApplicationCreate.ps1 in the console You will be prompted for a name less than 11 characters all lowercase make sure this is not generic as it creates resources with this name

  6. At the end of the process there will be three values displayed (Save these values Used in the next step

    1. Project Name

    2. Client ID

    3. Secret

Running the ARM Template (25 Min)

The ARM template provided by AI Risk will allow you to deploy all the nessesary infrastructure to configure your environment internally within your azure environment

  1. Click "Build your own template in the editor"

  2. Copy and paste the json text from MainTemplate.json found in the zip file provided and click SAVE

  3. You will be prompted for the following values

    1. Resource Group (Create a new group using your naming conventions) All resources will be deployed to this group.

    2. Region

    3. Project Name (Use the project name that was output from the powershell script)

    4. Licence File URL (Will be pre populated from our script)

    5. SQL Server User Name (any valid username all lowercase)

    6. SQL Server Password (This should be a strong password but can be later updated to use integrated authentication)

    7. SMPT Endpoint (Pre populated with AI Risks enpoint but can be customized to use your own)

    8. SMPT Username ( (Pre populated with AI Risks username but can be customized to use your own)

    9. SMPT Password (Pre populated with AI Risks password but can be customized to use your own)

    10. Azure AD Client ID (Use the Client ID that was output from the powershell script)

    11. Azure AD Secret (Use the secret that was output from the powershell script)

  4. Click Review + Create The script values will be validated

  5. Click Create

Loggin in for the first time

The first user to login will be allocated the Admin Role and allow them to configure and send new invitations and configure agents.

Browse to the Front end server which will have the default url of http://[Project Name]-app-service-frontend.azurewebsites.net

Using the hamburger menu in the upper left corner browse to the Admin Portal to configure your endpoints.

Next create your first Agent and Invite new users

Go to

Azure AD Instance (Should alwasy be but can be customized based on the application created)

Internal Deployment

Deploying to azure in (35 Min)

PreviousOnboarding Check ListNextOutlook Plugin
  • What you will need to get started
  • Creating an Azure Entra ID Application (10 Min)
  • Running the ARM Template (25 Min)
  • Loggin in for the first time
https://portal.azure.com/#create/Microsoft.Template
https://login.microsoftonline.com/
Azure Open AI Service
Open AI
Mistral
Creating an Agent
Invite new Users
./ApplicationCreate.ps1
https://shell.azure.com