AI Services · Governance & Security

AI governance and security for every system your AI can reach

AI governance and security is the set of policies, access controls, data protections and monitoring that decide what your AI assistants and agents may see, what they may do, and who answers for it when they act. Twopir Consulting designs and implements those controls for AI connected to Salesforce, HubSpot, ERP platforms and databases, aligned with the NIST AI Risk Management Framework. Governance built in from the first use case, not audited in after the first incident.

AI Control Plane
AI THAT ASKS FOR ACCESS AI Assistants Claude · ChatGPT · Copilot AI Agents Agentforce · Custom · MCP Tools Prompts Tool Calls API Requests TWOPIR GOVERNANCE LAYER Identity SSO · RBAC Least privilege Protect Data classes · Masking Secure APIs Oversee Audit logs · Monitoring Human approval GOVERN · MAP · MEASURE · MANAGE · ALIGNED WITH NIST AI RMF 2πr GOVERNED OUTCOMES Scoped Access Only the data each role should reach Traceable Actions Prompts and tool calls logged and reviewable Accountable AI A named owner and a person at the gate SALESFORCE · HUBSPOT · ERP · DATABASES · APIS
500+
Clients Served
12+
Years of Experience
10+
Countries Served
15+
Technology Partnerships

Trusted by 500+ organizations: growing, mid-market and enterprise teams whose CRM, integration and business systems Twopir Consulting designs, builds and secures.

Mitratech
Platform9
Spinify
RChilli
Fix Stream
Sotheby's International Realty (UAE)
Hey Market
Ultra Consultant
Kacific

Governance Across

  • Salesforce Partner
  • HubSpot Partner
  • Anthropic Claude
  • OpenAI
  • Microsoft
  • AWS
  • Google Cloud
  • NIST AI RMF
Where AI Risk Comes From

Most AI incidents start with access, not the model

A language model on its own can only produce text. The risk arrives when it is connected: to your CRM, your ERP, your documents and the tools that send email, update records and move money. These are the six failure patterns we design against.

Unauthorized data access

An assistant connected through one broad integration user answers every question with every record, so a sales rep can ask for data their own Salesforce or HubSpot permissions would never show them.

Excessive agent permissions

Agents get write and delete scopes "so they don't fail". One misread instruction then updates thousands of records, closes the wrong cases or emails customers who should never have been contacted.

Sensitive information exposure

Personal data, contract terms, health or financial details are pasted into prompts, kept in chat history and logs, or sent to a tool whose data-use and retention terms nobody reviewed.

Instructions hidden in the content it reads

An email, web page or uploaded file carries text written to steer the model. An agent that treats everything it reads as an instruction can be talked into leaking data or calling a tool it should not. OWASP ranks prompt injection first among LLM application risks.

Unreliable outputs, acted on anyway

Models produce confident answers that are wrong: an invented figure, an outdated policy, a misapplied discount. Without grounding, review or a confidence threshold, those answers reach customers and records.

Automation nobody can see or stop

Agents trigger flows, integrations and outbound messages with no inventory of what is running, no log of what it did, no named owner and no way to switch it off quickly when it misbehaves.

Definition

AI governance and security, defined

Enterprise AI governance is how an organization decides which AI systems it uses, for what, under whose ownership and within which limits. AI security is the set of technical controls that enforce those limits: identity, permissions, data protection, secure connectivity and monitoring. Governance without security is a policy nobody can enforce; security without governance is a set of controls nobody chose on purpose. An AI governance and security program needs both, and it applies to AI you buy, AI you build and AI your teams are already using without asking.

Responsibility is shared, and it helps to keep the parties apart. The AI provider, such as Anthropic, OpenAI, Microsoft, AWS or Google Cloud, secures its own platform and sets the data-use terms of the plan you buy. Your business platforms, such as Salesforce and HubSpot, enforce their own permission models on whatever the AI touches. Your organization owns the decisions: which uses are acceptable, what data may be used, and how much risk is tolerable. Twopir Consulting designs and implements the controls in between: the access model, the data protections, the connections, the logging and the review process described on this page.

We align that work with the NIST AI Risk Management Framework, a voluntary framework the US National Institute of Standards and Technology released in January 2023 and is now revising, and with its Generative AI Profile. A framework organizes risk management; it does not, on its own, make an AI system compliant with any law or regulation. Which obligations apply to you is a question for your legal and compliance team, and the controls we implement give them the evidence to answer it.

Governing Salesforce's own agents specifically? Our Agentforce governance and security service goes deeper on agent permissions, Trust Layer settings and guardrail testing inside Salesforce. Building the AI itself rather than governing it? Start with AI in Salesforce or AI in HubSpot.

AI Risk Management Framework

The NIST AI RMF, turned into working controls

The NIST AI RMF organizes AI risk management into four functions. Govern runs through the other three; Map, Measure and Manage repeat for every AI system across its life. This is what each one becomes when it is implemented rather than filed.

Alignment with the NIST AI RMF is a way of organizing the work. It is not a certification, and it does not by itself satisfy any regulation.
FunctionWhat it asks of youWhat we put in place
GovernA culture of risk management: policies, accountability, roles and processes that apply across every AI system.An AI acceptable-use policy, an inventory of AI systems and use cases, named owners, risk tiers with an approval path, and a review of each AI vendor's terms.
MapUnderstand the context of each AI system: its purpose, its users, the data it touches and who could be affected.A use-case register with a data-flow map for each system: which models, which platforms, which records and fields, which tools, and in which direction data moves.
MeasureAssess, analyze and track the identified risks with appropriate methods and metrics.Evaluation sets for accuracy and grounding, permission-boundary tests, prompt-injection tests, and the usage and quality metrics that monitoring reports on.
ManagePrioritize and act on risks, respond to incidents, and recover, with resources matched to the risk.Controls sized to each risk tier, alerting on anomalies, an AI incident runbook with a tested kill switch, and a decision path for changing or retiring a system.
AI Security Architecture

Six control domains every AI deployment needs

Each domain is a set of decisions and the configuration that enforces them. How much of each a use case needs depends on its risk tier: an internal drafting assistant and an agent that updates customer records do not get the same controls.

Governance Policy & Accountability

The rules everyone works to, and the people who own them. Written so a team lead can apply them, not just a lawyer.

  • AI acceptable-use policy
  • AI system and use-case inventory
  • Risk tiers and an approval workflow
  • A named owner for every AI system
  • Vendor and model review before adoption

Identity, Authentication & RBAC

AI access follows the same identity model as every other system, so an assistant never sees more than the person using it should.

  • Single sign-on for AI tools
  • Automated provisioning and removal of users
  • Role-based access to AI features and data
  • Per-user versus service identities for agents
  • MFA and session policy

Data Privacy & Protection

Decide which data may reach which model, then enforce it, before the first prompt rather than after the first leak.

  • Data classification for AI use
  • Masking and redaction of sensitive fields
  • Retention and training settings checked per vendor
  • Grounding limited to approved sources
  • Data residency and processing terms reviewed

Secure API & MCP Connectivity

Every connection between an AI system and a business system is a credential with a scope. We keep both as narrow as the use case allows.

  • OAuth scopes set to least privilege
  • Secrets in a vault, never in prompts or code
  • Tool allowlists for agents and MCP servers
  • Read-only by default, write access by exception
  • Rate limits and outbound-call controls

Audit Logging & Usage Monitoring

A record of who asked what, which tools ran and what changed, kept where your security team already looks.

  • Prompts, responses and tool calls logged per policy
  • Audit trails routed to your SIEM
  • Usage dashboards by team, model and cost
  • Alerts on unusual access or volume
  • Log retention set to your policy

Human Oversight & Output Quality

People stay accountable for what AI decides. The higher the impact of an action, the closer a person sits to it.

  • Human approval for high-impact actions
  • Grounding checks and cited sources
  • Evaluation sets run before every release
  • Feedback and escalation paths for users
  • A tested way to switch an agent off
AI Access Control & Permissions

Governing AI inside your business systems

An AI system inherits the access of the identity it runs as. Get that identity wrong and every other control is working around it. These are the connections we design most often, and what the access model looks like for each.

AI + Salesforce

Agents and assistants run as a defined user whose profile, permission sets, sharing rules and field-level security decide which records and fields they reach. Salesforce's Einstein Trust Layer adds data masking, an audit trail and zero data retention with external model providers; we design the running user per use case, so Agentforce and external AI see what the role needs and nothing else.

AI + HubSpot

Connected apps and private-app tokens are granted only the scopes a use case needs, with read and write separated. Contact and deal data reaches the AI through those scopes, never through a super-admin token shared across tools. More on AI in HubSpot.

AI + ERP platforms

Finance and operations data reaches the AI through approved, read-only views. Anything that writes back, such as an order, a credit or a price change, goes through an approval step that keeps your segregation of duties intact.

AI + databases and warehouses

AI queries run under a dedicated read-only role against curated views, with row-level rules where the data calls for them. No AI identity writes to a production database directly.

AI + documents and knowledge

Retrieval respects the permissions of the source, so an assistant searching shared drives or a knowledge base only returns what the person asking could open. Sensitive and outdated content is excluded from grounding.

AI + MCP servers and tools

Each Model Context Protocol server and tool is reviewed before it is allowed, authorized per user where the platform supports it, and limited to an allowlist of actions. The MCP specification forbids passing a user's token through to other services; we hold servers to that, and to tokens bound to the one server they were issued for.

AI + integration platforms

Where an agent has to act across systems, we route the action through your integration layer, so credentials, logging, retries and rate limits are managed in one governed place instead of inside the agent.

AI + model providers

Anthropic and OpenAI state that business data is not used for training by default, Microsoft 365 Copilot only surfaces data a user can already view, and AWS Bedrock Guardrails can mask personal data. Each plan's identity, retention and logging settings differ, so we check what yours provides and configure it.

Read Access

What the AI may see

Records, fields, documents and history the use case needs to answer well, scoped to the person or role it acts for. Sensitive fields are masked or left out, and grounding sources are approved, not discovered.

Most assistants never need more than this, and most should never get more.

Action Access

What the AI may do

Creating, updating, sending or deleting. Each action is granted by exception, logged, limited in volume, and, where it is hard to reverse or customer-facing, held for a person to approve.

Action access is where an assistant becomes an agent, and where governance has to be strictest.

Responsible AI Implementation

Governance at every stage of the AI lifecycle

Governance added after launch means rebuilding access models that users already depend on. We work it into planning, implementation, deployment and operations, so each stage produces the evidence the next one needs.

Stage 01

Plan & Assess

We inventory the AI already in use, including the tools nobody approved, take each proposed use case through intake, and assign a risk tier based on the data it touches and the actions it can take.

DeliverableAI inventory, use-case register and risk tiers

Stage 02

Design Controls

Data flows mapped, the identity each AI system runs as decided, and the controls chosen per tier: access model, data protection, connectivity, logging and the points where a person approves.

DeliverableGovernance and security design, signed off

Stage 03

Implement

Controls configured in the platforms themselves: SSO and roles, permission sets and scopes, masking, tool allowlists, secrets management and log routing, built in a sandbox first.

DeliverableConfigured controls, demoed per domain

Stage 04

Test & Validate

Permission boundaries, prompt injection, sensitive-data handling, output quality and the kill switch, tested against the design before any production data is connected.

DeliverablePassed test matrix and owner sign-off

Stage 05

Deploy

A staged rollout to a pilot group, monitoring and alerts live from the first day, and training for users, system owners and administrators on what the controls do and why.

DeliverableRunbook, live monitoring, trained owners

Stage 06

Operate & Review

Usage and incidents reviewed on a set cadence, access recertified, and every model change, new tool or new data source taken back through intake instead of switched on.

DeliverableReview cadence and governance reports

AI Compliance & Monitoring

How we test AI before it reaches real data

A demo that answers well proves the model works, not that the system is safe. We test the boundaries, then keep runtime guardrails in place for as long as the system runs.

Test scenarioWhat it has to prove
Permission boundariesUsers in different roles ask for the same restricted record, and each gets only what their own access allows.
Prompt injectionInstructions planted in emails, documents and web content do not change what the agent does or which tools it calls.
Sensitive data handlingMasked fields stay masked in answers, logs and tool calls, and nothing classified as restricted leaves the boundary.
Output accuracyAnswers on an agreed evaluation set are grounded in approved sources, and the system says so when it does not know.
High-impact actionsEvery action marked for approval waits for a person, and bulk or irreversible actions stop at their limits.
Logging completenessA test session can be reconstructed end to end from the logs: who asked, what was retrieved, which tools ran, what changed.
Failure and shutdownWhen a model or tool fails, the system degrades safely, and the kill switch stops an agent within the agreed time.
AI Compliance Considerations

What frameworks can and cannot promise

No framework makes an AI system compliant on its own. Frameworks give the program a shared structure and a vocabulary auditors recognize; your obligations come from the laws, contracts and industry rules that apply to you.

FrameworkWhat it isHow we use it
NIST AI RMF 1.0A voluntary framework from NIST for managing the risks of AI systems, organized into Govern, Map, Measure and Manage.The backbone of the program: policies, the use-case register, testing and response are each traced to a function.
NIST Generative AI ProfileNIST AI 600-1, a companion profile to the AI RMF published in July 2024. It describes twelve risks specific to generative AI and suggested actions for each.A checklist of generative AI risks, such as confabulation and data privacy, applied to each assistant and agent.
OWASP Top 10 for LLM ApplicationsA community list of the ten most critical security risks in applications built on large language models, updated for 2025.The basis of the security test cases: prompt injection, sensitive information disclosure and excessive agency among them.
ISO/IEC 42001The international standard for AI management systems, published by ISO and IEC.Where your organization is working toward it, we shape policies and evidence to support that work. We do not certify against it.
Privacy and industry regulationsLaws and rules such as data protection regulations and sector requirements in health, finance or legal services.Your legal and compliance team decides which apply. We implement the technical controls they require and document them as evidence.
Why Twopir

Governance from the people who build the systems

Most AI risk lives in the permissions, integrations and data models of the systems AI is connected to. We have spent years designing those systems, which is why we start there.

The architecture comes first

We design AI access as part of your CRM and revenue architecture: which identity, which objects, which data flows. Controls built on a sound model hold up; controls bolted onto a shared admin login do not.

Salesforce-first, with HubSpot and connected platforms

Profiles, permission sets, sharing rules and field-level security are what an AI system inherits in Salesforce. We work with them daily, and with HubSpot scopes and the platforms around both.

Built for multi-system complexity

Agent permissions get dangerous where systems meet: CRM to ERP, automation to outbound email, AI to integration middleware. Multi-system integration, ERP, automation and AI are the core of our work.

Real implementation experience

We have delivered for 500+ clients across industries and countries, so our controls are designed for how teams actually work, not for a policy binder.

Senior-led, specialist delivery

Senior architects own the design and the risk decisions; specialists build and test each control. You get documented controls your own teams can run, with ongoing support when you want it.

Common Questions

AI governance and security questions, answered plainly

AI governance and security is the combination of policies, ownership and technical controls that decide which AI systems an organization uses, what data they can reach, what actions they can take, and who is accountable for them. Governance sets the rules, such as acceptable use, risk tiers and approval paths. Security enforces them through identity and access control, data protection, secure API connectivity, audit logging and monitoring.

No. The NIST AI RMF is a voluntary framework that organizes AI risk management into four functions: Govern, Map, Measure and Manage. Aligning with it gives your program a recognized structure and produces useful evidence, but it does not by itself satisfy any law, regulation or contract. Your legal and compliance team determines which obligations apply, and the controls we implement are documented so they can show how each one is met.

By designing the identity the agent runs as. In Salesforce that means a dedicated user whose profile, permission sets, sharing rules and field-level security limit it to the records and fields the use case needs. In HubSpot it means app scopes granted per use case, with read and write separated. Where an agent acts for a specific person, it should see only what that person could see. Write access is granted by exception, logged and, for high-impact actions, held for human approval.

Classify the data first, then enforce the classification. Restricted fields are masked or excluded before they reach a prompt, grounding is limited to approved sources, and each AI provider's data-use and retention settings are checked against your policy rather than assumed. Logging is configured so it does not become a second copy of the sensitive data, and tests confirm that masked values stay masked in answers, logs and tool calls.

Alongside it. A pilot does not need a full program, but it does need an owner, a risk tier, a scoped identity and logging from day one. Pilots that skip those steps tend to go live with the broad access they were tested with, and narrowing access after users depend on it is far harder than starting narrow.

Yes, and that is usually where we start. We build an inventory of the AI in use, including tools adopted without approval, assess each against the data it touches, then bring the ones worth keeping under single sign-on, approved plans and logging, and give teams a sanctioned alternative for the rest.

It means matching review to impact. Low-risk outputs, such as a draft summary, are reviewed by the person who uses them. Customer-facing, financial or hard-to-reverse actions wait for a named person to approve them. Every system has an owner who reviews its usage and incidents on a set cadence, and a tested way to switch it off.

Next Step

Start with what your AI can reach

A first conversation covers the AI you use or plan to use, the systems and data it connects to, and where ownership is unclear: enough to say which risks matter most and what a governance program would take. No obligation to proceed.

Talk to a senior architect about governing AI across your business systems