---
updatedAt: 2026-10-28T10:49:32.000Z
agentTools:
  projectIndex: https://docs.getmontecarlo.com/llms.txt
---

# Updating an Integration

# About

The page outlines how to update integrations after you've added them. This can entail updating users, and other connection information.

Note that this does not apply if you are using self-hosted credentials, for which you will need to update the secret directly. See details on that scenario [here](https://docs.getmontecarlo.com/docs/using-self-hosted-credentials).

> 🚧
>
> **Importantly**, when updating any integration information, please ensure that the previous user credentials, etc. remain valid for at least **3 hours** after changing them in Monte Carlo.
>
> Otherwise, any in-flight jobs will fail, which can cause gaps, failed monitors, and might impact models.

# How-to Guide

You can update integrations either with the Monte Carlo UI or API.

The easiest and most recommended way is via the UI, as that will automatically run **all** connection validators for you.

## Via the UI

1. **Navigate to the Monte Carlo settings page:**\
   From there, select to the [integrations tab](https://getmontecarlo.com/settings/integrations) in the Monte Carlo portal.
2. **Find the integration you want to update:**\
   From there, select the "More Options" icon (vertical ellipsis/kebab), and then select "Edit."

   <Image align="left" className="border" width="25% " border={true} src="https://files.readme.io/e5fad911ff872e91fa8ec38799282ed8ed186b0d7a09a87f33917a07142029af-Screenshot_2024-08-22_at_2.45.54_PM.png" />
3. **Update any relevant connection details:**\
   From there, select "Save" and follow the wizard's recommendations to review any validations or continue.

## Via the API

> 👍
>
> To quickly get started experimenting or testing with any Monte Carlo APIs, you can use the [API Explorer](https://docs.getmontecarlo.com/docs/api-explorer)!
>
> Alternatively, you can generate an [API key](https://docs.getmontecarlo.com/docs/api-authentication#creating-an-api-key) and use tools such as cURL or Postman to make [API calls](https://docs.getmontecarlo.com/docs/api).

1. **Start an update:**\
   Using the update API that corresponds to your integration, submit the changes you want to make. This API varies by integration and will return a key ID that you will use in subsequent steps. Popular ones are listed below:

   | Integration | API                                                                        |
   | :---------- | :------------------------------------------------------------------------- |
   | Snowflake   | <https://apidocs.getmontecarlo.com/#mutation-updateSnowflakeCredentialsV2> |
   | Redshift    | <https://apidocs.getmontecarlo.com/#mutation-updateRedshiftCredentialsV2>  |
   | BigQuery    | <https://apidocs.getmontecarlo.com/#mutation-updateBigQueryCredentialsV2>  |

   Additional APIs can be found by searching for the `update*CredentialsV2` pattern in our API docs [here](https://apidocs.getmontecarlo.com/).

   Note that you can use [this](https://apidocs.getmontecarlo.com/#query-getPlatformServices) API to find the connection ID needed as input for the the above APIs.

   ```graphql Snowflake Example
   query getPlatformServices {
     getPlatformServices {
       connections {
         name
         uuid
         connectionType
       }
     }
   }

   mutation updateSnowflakeCredentialsV2 {
     updateSnowflakeCredentialsV2(
       changes: {user: "EXAMPLE_USER_NAME", password: "EXAMPLE_PASS"}
       connectionId: "<Connection uuid from getPlatformServices>"
     ) {
       result {
         key
         success
       }
     }
   }
   ```
2. **Test the updated credentials:**\
   Using the temporary key ID returned in the previous step and the relevant connection type, use the [testUpdatedCredentialsV2](https://apidocs.getmontecarlo.com/#mutation-testUpdatedCredentialsV2) API to validate your changes. There are many available validations per integration, but at a minimum, you should use the `validate_connection` validation.
   ```graphql Snowflake Example
   mutation testUpdatedCredentialsV2 {
     testUpdatedCredentialsV2(
       connectionType: "snowflake"
       tempCredentialsKey: "<Key returned in updateSnowflakeCredentialsV2>"
       validationName: "validate_connection"
     ) {
       validationResult {
         success
         validationName
         description
         errors {
           cause
           stackTrace
           friendlyMessage
           resolution
         }
         warnings {
           cause
           stackTrace
           friendlyMessage
           resolution
         }
       }
     }
   }
   ```
3. **Save the updated credentials:**\
   Using the temporary key ID returned in step #1 and the relevant connection ID, use the [updateCredentialsV2](https://apidocs.getmontecarlo.com/#mutation-updateCredentialsV2) API to submit your changes.
   ```graphql Snowflake Example
   mutation UpdateCredentialsV2 {
     updateCredentialsV2(
       connectionId: "<Connection uuid used in updateSnowflakeCredentialsV2>",
       tempCredentialsKey: "<Key returned in updateSnowflakeCredentialsV2>"
     ) {
       success
       updatedAt
     }
   }
   ```

# Integration failure notifications

When a critical connection check for an integration fails on every run over several hours, for example because its credentials have expired, Monte Carlo emails your Account Owners. The email names the failed check, the cause and a suggested fix, and is sent at most once a day per check.