Skip to content

Using the Trimble Model Gateway node

The Trimble Model Gateway node in n8n is a custom node that wraps the Agentic AI Platform’s Mode Gateway Service. It provides access to the variety of enterprise LLM’s supported by the Agentic AI Platform. The Model Gateway insures that user prompts and generated output go through content safety filters for removing things like prompt injection attacks and hazardous content generation.

Add the Trimble Model Gateway node as the Chat Model for your AI Agent node. n8n insert model gateway

Creating your Trimble Identity credential in n8n (one-time setup)

A Trimble Identity OAuth2 credential is necessary for using the Trimble Model Gateway node. This is a one-time setup of the credential and thereafter it can be used each time you add a Trimble Model Gateway node. n8n add new credential

This will open up the credential creation dialog for a Trimble Identity OAuth2 credential. Rename the credential to something like “Trimble Identity - Your Name”. Leave all the other settings in the dialog as their default values. Click on Save to save your credential. n8n add new credential

If the connection is successful, you will see a green notification on the dialog. You may then close the dialog. n8n add new credential

Select the model you want your agent to use. n8n created credential ⚠️ Important: While the Trimble Model Gateway offers a wide variety of AI Models, you must be aware that larger, smarter models cost more than 10x what smaller, faster models cost to run. Use the minimum size model necessary for your workflow to optimize our costs. If you are unsure of what model to use, join our community channel to ask and get advice.

Save and run your workflow to make sure it is working as expected. n8n created credential