Skip to main content

Setting Up GenAI Services and Policies

Connect your organization's Generative AI providers to Vocareum and define the rule sets that control which services and models are available when a key is issued.

J
Written by Julia Dashzeveg

For Admins

This article walks you through the two org-level building blocks that make budgeted AI access possible in Vocareum: Services and Policies. A Service registers one of your organization's Generative AI (GenAI) provider credentials with Vocareum so that spend can be tracked and budgeted against it. A Policy is a rule set that restricts which services and models a user can reach when you issue them a key. Setting both up is the first thing you do before you can grant anyone access to GenAI.

You perform this configuration in the GenAI Gateway, an admin-only module in the Control Center. If you are not yet familiar with what the Gateway is or how its components fit together, refer to What is Vocareum GenAI Gateway? before you begin. That article is also the canonical home for the steps to reach the GenAI Gateway in the Control Center, so this article assumes you have already navigated there.

Before you start, confirm the following:

  • You have Organization Administrator access. Adding services and policies is an org-level task that Teachers cannot perform.

  • You have the credentials for the provider you want to add. For most providers, this is a provider API key. For Amazon Nova and Claude Bedrock, it is instead an Amazon Web Services (AWS) Identity and Access Management (IAM) role in your AWS account that Vocareum can assume.

  • You have decided on an overall budget to apply to the service.

Once your services and policies exist, the next step is to hand access to your courses, groups, and individual users. For that, refer to Provisioning GenAI Access.

Adding a GenAI Service

A Service stores one provider credential at the organization level, validates it, and gives you a Vocareum endpoint through which all budgeted keys for that provider are routed. Vocareum currently supports the following services:

  • OpenAI

  • Azure OpenAI

  • Llama

  • Claude

  • Claude Bedrock

  • Gemini

  • Nova

  • Custom

The Add Service form is dynamic: the fields it displays change based on the service you select. This is intentional. For well-known providers whose endpoint and model lineup Vocareum already knows, the form asks only for the minimum it needs. For services where the endpoint or the model list is not predetermined, the form asks for additional details so that Vocareum can route requests and calculate spend correctly. Because of this, the exact fields you complete depend on which service you choose. The topics below describe each variant, and the closing topic summarizes every service's fields in one table.

To begin adding any service, follow these steps.

  1. On the GenAI Services page, select the Add Service button.

  2. Select the service type you want to add from the dropdown at the top right of the Add Service panel. The form fields update to match your selection.

    The Add Service panel with the service type dropdown set to OpenAI in the top right corner. Below the dropdown the form shows the minimal OpenAI fields, API Key, Name, and Budget, with Add Service and Cancel buttons at the bottom.
  3. Complete the fields shown for that service. Refer to the topic below that matches your service type for the specific fields.

  4. Select the Add Service button at the bottom of the form to validate and store the service. To discard your entries instead, select Cancel.

After you save, the service appears in the services table below the form. Above the table are a Search by key words box for filtering the list, a column-visibility control for choosing which columns display, and a Refresh control for reloading the list. The table has the following columns:

  • Key — validation status. A green check mark means the credential validated successfully and the service is ready to use.

  • Name — the label you gave the service.

  • Service Type — the provider you selected, such as OpenAI, Azure, or Claude Bedrock.

  • Info — a link that opens the service's details.

  • Models — a link that opens the models available from the service.

  • Spend — the amount spent against the service so far.

  • Budget — the budget you set for the service.

  • Edit/Delete — an edit control and a delete control for the service.

Below the table, pagination controls report how many entries are shown, let you set the number of entries per page, and let you move between pages.

You can change or remove a service after creating it: use the edit control in the Edit/Delete column to update a service, or the delete control to remove it.

The GenAI Services page with the left sidebar showing Dashboard, a GenAI Resources group containing Services and Policies, and a separate My Keys item. The main area shows a Search by key words box, a column-visibility control, and a Refresh control above the services table. The table columns are Key, Name, Service Type, Info, Models, Spend, Budget, and Edit/Delete. Each row has a green check in the Key column, Info and Models links, and edit and delete buttons at the end. Pagination controls appear below the table.

Adding a Standard Provider Service

Standard providers are those whose endpoint and models Vocareum already knows, so the form requests only the essentials. OpenAI is the confirmed example of this minimal form. For a standard provider, complete these fields:

  1. In the API Key field, enter the provider API key for your organization's account with that provider.

  2. In the Name field, enter a label to identify this service within your Vocareum organization. This name is how the service appears in tables and policy selection later, so choose something descriptive.

  3. In the Budget field, enter the overall budget, in dollars, to apply to this service.

Then follow the shared save step above to validate and store the service. The OpenAI form is shown in the screenshot under Adding a GenAI Service above.

Adding a Service That Requires an Endpoint and Pricing

Some services do not have a predetermined endpoint or model list, so the form displays additional fields. Azure OpenAI, Llama, and Custom are the confirmed examples. "Custom" is the literal label for the catch-all option, used for a compatible provider endpoint that is not one of the named services. In addition to the standard fields, these services require a custom endpoint and per-model pricing.

For a Llama or Custom service, complete these fields:

  1. In the API Key field, enter the API key for the endpoint you are connecting.

  2. In the Name field, enter a label to identify this service within your Vocareum organization.

  3. In the Budget field, enter the overall budget, in dollars, to apply to this service.

  4. In the Custom URL field, enter the endpoint that Vocareum should send requests to. The field displays a placeholder in the form https://{Custom.API.Endpoint} to indicate the expected format.

  5. Build the per-model pricing table. For each model you want to make available, select Add Model, then enter the Model Name, the input price in dollars per one million tokens, and the output price in dollars per one million tokens.

Then follow the shared save step above to validate and store the service.

The per-model pricing table is how Vocareum calculates spend for these services. Because Vocareum does not have predetermined pricing for a custom endpoint, it relies on the input and output prices you enter to convert token usage into dollar amounts and to enforce your budgets. Enter pricing that matches your provider's published rates so that budget tracking stays accurate.

Azure OpenAI uses the same endpoint-and-pricing form, with one difference in the pricing table. Because Azure serves models through deployments that you name yourself, the form asks you to map each deployment to a known base model. For an Azure OpenAI service, complete these fields:

  1. In the API Key field, enter the API key for your Azure OpenAI resource.

  2. In the Name field, enter a label to identify this service within your Vocareum organization.

  3. In the Budget field, enter the overall budget, in dollars, to apply to this service.

  4. In the Custom URL field, enter your Azure OpenAI resource endpoint. The field displays a placeholder in the form https://{your-resource-name}.openai.azure.com to indicate the expected format.

  5. Build the per-model pricing table. For each deployment you want to make available, select Add Model, then enter the Model Name, choose the Base Model Name from the dropdown (for example, gpt-3.5-turbo), and enter the input and output prices in dollars per one million tokens.

Then follow the shared save step above to validate and store the service.

The Base Model Name dropdown is unique to Azure OpenAI. It maps the deployment name you set in Azure to a base model Vocareum recognizes, so that requests route correctly. The Llama and Custom pricing tables do not display this column.

The Add Service form with the service type dropdown set to Azure. The form shows API Key, Name, and Budget fields, a Custom URL field with a placeholder in the form <a href="https://{your-resource-name}.openai.azure.com" target="_blank" rel="nofollow noopener noreferrer">https://{your-resource-name}.openai.azure.com</a>, and a per-model pricing table whose columns are Model Name, Base Model Name (a dropdown), Input dollars per one million tokens, and Output dollars per one million tokens, followed by an Add Model button. Add Service and Cancel buttons appear at the bottom.

Adding a Bedrock Service (Nova or Claude Bedrock)

Two services reach their provider through AWS Bedrock: Nova (Amazon Nova) and Claude Bedrock (Claude accessed through AWS Bedrock). Note that "Claude" and "Claude Bedrock" are set up differently: "Claude" uses an Anthropic API key and is a standard provider, whereas "Claude Bedrock" connects to Bedrock in your organization's own AWS account.

Instead of a provider API key, Nova and Claude Bedrock services authenticate by having Vocareum assume an IAM role in your AWS account, so setting them up involves steps in both AWS and the Control Center. For the full setup, including creating the IAM role, adding the service, and optionally applying a Bedrock guardrail, refer to Setting Up AWS Bedrock in the Control Center.

Add Service Field Summary

The table below summarizes the fields for each service.

Azure OpenAI adds one column beyond the other endpoint-and-pricing services: its per-model pricing table includes a Base Model Name dropdown that Llama and Custom do not display, as described under Adding a Service That Requires an Endpoint and Pricing above.

Service

API Key

IAM credentials

Custom URL

Per-model pricing

Name

Budget

OpenAI

✓

✗

✗

✗

✓

✓

Azure OpenAI

✓

✗

✓

✓

✓

✓

Llama

✓

✗

✓

✓

✓

✓

Custom

✓

✗

✓

✓

✓

✓

Nova

✗

✓

✗

✗

✓

✓

Claude Bedrock

✗

✓

✗

✗

✓

✓

Claude

✓

✗

✗

✗

✓

✓

Gemini

✓

✗

✗

✗

✓

✓

Creating and Managing Policies

A Policy is a rule set that restricts which services and models are available when you issue a key. When you grant a user access to GenAI through a course, a group, or an individual user key, you select a Policy, and that Policy determines what the resulting key can reach. You can use a Policy to limit access to specific models within a service, and you can use it to bundle access to models from more than one service. For the broader definition of how policies fit alongside the other Gateway components, refer to What is Vocareum GenAI Gateway?.

You do not have to create a policy before you can grant access. A Default Policy is generated automatically for each Service you add, and that Default Policy grants access to every model available from its service. Create a custom policy only when you want to restrict which models a key can reach, or when you want a single policy to span multiple services.

Creating a Custom Policy

To create a custom policy, follow these steps.

  1. On the GenAI Policies page, select the + Add policy button.

  2. Enter a policy name that describes the access the policy grants.

  3. Select which services to include in the policy. You may include more than one service to bundle their models under a single policy.

  4. Select which models the policy makes available. If you do not restrict the models, the policy grants access to the included services' models.

  5. Save the policy. It then appears in the policies list alongside the automatically generated default policies.

Managing Existing Policies

The GenAI Policies page lists every policy in your organization, including the automatically generated default policies and any custom policies you create. A search bar above the list lets you filter policies by keyword. The list has the following columns:

  • Status — either Active or Default. A custom policy you have created and activated carries an Active status, shown in green. A policy generated automatically for a service carries a Default status, shown in grey.

  • Policy Name — the name of the policy.

  • Services — the services the policy includes, each shown as a chip. A chip has an x control that removes that service from the policy.

  • Models — a view models link that opens the list of models the policy grants access to.

  • Parents — the source service that the policy derives from.

You can review this list to confirm which policies exist before you issue keys against them. To change which services a policy includes, select the x on a service chip in the Services column to remove that service. To review which models a policy grants, select the view models link in the Models column.

The GenAI Policies page with a Search by key words bar and a + Add policy button above the list. The table columns are Status, Policy Name, Services, Models, and Parents. One row has an Active status in green with a removable OpenAI service chip; another has a grey Default status. Each row has a view models link in the Models column.

Did this answer your question?