import { LOCAL_STORAGE_KEYS } from 'common' import { Badge, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogSection, DialogSectionSeparator, DialogTitle, DialogTrigger, } from 'ui' import { InlineLink } from '../../InlineLink' import { BannerCard } from '../BannerCard' import { useBannerStack } from '../BannerStackProvider' import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage' /** * [Joshen] TOS update takes place from 6th June onwards, can remove from 4th July onwards as * previously stated in the NoticeBanner */ export const BannerTOSUpdate = () => { const { dismissBanner } = useBannerStack() const [, setTOSUpdateAcknowledged] = useLocalStorageQuery( LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE, false ) return ( { setTOSUpdateAcknowledged(true) dismissBanner('tos-update-banner') }} >
Notice

We've updated our Terms of Service

Updates define the responsibilities of both you and Supabase in the use of AI.

) } const UpdatedTermsOfServiceDialog = () => { const [, setTOSUpdateAcknowledged] = useLocalStorageQuery( LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_UPDATE, false ) return ( Terms of Service update We've updated our Terms of Service to better define the responsibilities of both you and Supabase in the use of AI.

We've clarified how we use AI in our customer support tooling, introduced guidelines for the responsible use of AI by our users, and updated our indemnification terms to clarify the allocation of responsibility for claims arising from AI-generated inputs and outputs.

Additionally, we've made an explicit commitment that Supabase will never use the data you submit to the Supabase services to train or improve any AI without your prior written consent.

The updated Terms (Version 2) will take effect on June 6, 2026. By continuing to use the Services after that date, you agree to the updated Terms. You can review the changes{' '} here.

This notice applies to users on Supabase's standard Terms of Service only. If you are on an Enterprise plan or with a separately negotiated agreement, your existing terms continue to govern your use of the Services.

) }