Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat: new wrappers (#22289)

Alaister Younga9e6cb1bf11e
diff --git a/apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx b/apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
index cfd602e31fb..2dfcda06694 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
+++ b/apps/studio/components/interfaces/Database/Wrappers/CreateWrapper.tsx
@@ -16,6 +16,7 @@ import {
FormSectionLabel,
FormsContainer,
} from 'components/ui/Forms'
+import { useDatabaseExtensionsQuery } from 'data/database-extensions/database-extensions-query'
import { invalidateSchemasQuery } from 'data/database/schemas-query'
import { useFDWCreateMutation } from 'data/fdw/fdw-create-mutation'
import { useCheckPermissions } from 'hooks'
@@ -62,6 +63,16 @@ const CreateWrapper = () => {
}
: {}
+ const { data } = useDatabaseExtensionsQuery({
+ projectRef: project?.ref,
+ connectionString: project?.connectionString,
+ })
+
+ const wrappersExtension = data?.find((ext) => ext.name === 'wrappers')
+
+ const hasRequiredVersion =
+ (wrappersExtension?.installed_version ?? '') >= (wrapperMeta?.minimumExtensionVersion ?? '')
+
if (wrapperMeta === undefined) {
return (
<div className="flex flex-col items-center justify-center w-full h-full space-y-4">
@@ -79,6 +90,37 @@ const CreateWrapper = () => {
)
}
+ if (!hasRequiredVersion) {
+ const databaseNeedsUpgrading =
+ wrappersExtension?.installed_version !== wrappersExtension?.default_version
+
+ return (
+ <div className="flex flex-col items-center justify-center w-full h-full space-y-4">
+ <div className="space-y-2 flex flex-col items-center w-[400px]">
+ <p>Your extension version is outdated for this wrapper.</p>
+ <p className="text-sm text-center text-foreground-light">
+ The wrapper type {type} requires a minimum extension version of{' '}
+ {wrapperMeta.minimumExtensionVersion}. You have version{' '}
+ {wrappersExtension?.installed_version} installed. Please{' '}
+ {databaseNeedsUpgrading && 'upgrade your database then '}reinstall the extension to
+ create this wrapper.
+ </p>
+ </div>
+ <Button asChild type="default">
+ <Link
+ href={
+ databaseNeedsUpgrading
+ ? `/project/${ref}/settings/infrastructure`
+ : `/project/${ref}/database/extensions?filter=wrappers`
+ }
+ >
+ {databaseNeedsUpgrading ? 'Upgrade Database' : 'Reinstall Extension'}
+ </Link>
+ </Button>
+ </div>
+ )
+ }
+
const onUpdateTable = (values: any) => {
setNewTables((prev) => {
// if the new values have tableIndex, we are editing an existing table
diff --git a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
index 0747929f964..1e55b30080f 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
+++ b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.constants.ts
@@ -9,6 +9,10 @@ export const WRAPPER_HANDLERS = {
BIG_QUERY: 'big_query_fdw_handler',
AIRTABLE: 'airtable_fdw_handler',
LOGFLARE: 'logflare_fdw_handler',
+ AUTH0: 'auth0_fdw_handler',
+ COGNITO: 'cognito_fdw_handler',
+ MSSQL: 'mssql_fdw_handler',
+ REDIS: 'redis_fdw_handler',
}
export const WRAPPERS: WrapperMeta[] = [
@@ -831,4 +835,335 @@ export const WRAPPERS: WrapperMeta[] = [
},
],
},
+ {
+ name: 'auth0_wrapper',
+ handlerName: WRAPPER_HANDLERS.AUTH0,
+ validatorName: 'auth0_fdw_validator',
+ icon: `${BASE_PATH}/img/icons/auth0-icon.svg`,
+ extensionName: 'Auth0Fdw',
+ label: 'Auth0',
+ docsUrl: 'https://supabase.com/docs/guides/database/extensions/wrappers/auth0',
+ minimumExtensionVersion: '0.3.0',
+ server: {
+ options: [
+ {
+ name: 'api_key_id',
+ label: 'Auth0 API key or PAT',
+ required: true,
+ encrypted: true,
+ hidden: true,
+ },
+ {
+ name: 'url',
+ label: 'Auth0 API URL',
+ defaultValue: 'https://dev-<tenant-id>.us.auth0.com/api/v2/users',
+ required: false,
+ encrypted: false,
+ hidden: false,
+ },
+ ],
+ },
+ tables: [
+ {
+ label: 'Users',
+ description: 'Auth0 Users',
+ availableColumns: [
+ {
+ name: 'user_id',
+ type: 'text',
+ },
+ {
+ name: 'email',
+ type: 'text',
+ },
+ {
+ name: 'email_verified',
+ type: 'boolean',
+ },
+ {
+ name: 'username',
+ type: 'text',
+ },
+ {
+ name: 'phone_number',
+ type: 'text',
+ },
+ {
+ name: 'phone_verified',
+ type: 'boolean',
+ },
+ {
+ name: 'created_at',
+ type: 'jsonb',
+ },
+ {
+ name: 'updated_at',
+ type: 'jsonb',
+ },
+ {
+ name: 'identities',
+ type: 'jsonb',
+ },
+ {
+ name: 'app_metadata',
+ type: 'jsonb',
+ },
+ {
+ name: 'user_metadata',
+ type: 'jsonb',
+ },
+ {
+ name: 'picture',
+ type: 'text',
+ },
+ {
+ name: 'name',
+ type: 'text',
+ },
+ {
+ name: 'nickname',
+ type: 'text',
+ },
+ {
+ name: 'multifactor',
+ type: 'jsonb',
+ },
+ {
+ name: 'last_ip',
+ type: 'text',
+ },
+ {
+ name: 'last_login',
+ type: 'jsonb',
+ },
+ {
+ name: 'logins_count',
+ type: 'integer',
+ },
+ {
+ name: 'blocked',
+ type: 'boolean',
+ },
+ {
+ name: 'given_name',
+ type: 'text',
+ },
+ {
+ name: 'family_name',
+ type: 'text',
+ },
+ ],
+ options: [
+ {
+ name: 'object',
+ defaultValue: 'users',
+ editable: false,
+ required: true,
+ type: 'text',
+ },
+ ],
+ },
+ ],
+ },
+ {
+ name: 'cognito_wrapper',
+ handlerName: WRAPPER_HANDLERS.COGNITO,
+ validatorName: 'cognito_fdw_validator',
+ icon: `${BASE_PATH}/img/icons/cognito-icon.svg`,
+ extensionName: 'CognitoFdw',
+ label: 'Cognito',
+ docsUrl: 'https://supabase.com/docs/guides/database/extensions/wrappers/cognito',
+ minimumExtensionVersion: '0.3.0',
+ server: {
+ options: [
+ {
+ name: 'aws_access_key_id',
+ label: 'AWS Access Key ID',
+ required: true,
+ encrypted: false,
+ hidden: false,
+ },
+ {
+ name: 'api_key_id',
+ label: 'AWS Secret Key',
+ required: true,
+ encrypted: true,
+ hidden: true,
+ },
+ {
+ name: 'region',
+ label: 'Region',
+ required: true,
+ encrypted: false,
+ hidden: false,
+ },
+ {
+ name: 'user_pool_id',
+ label: 'User Pool ID',
+ required: true,
+ encrypted: false,
+ hidden: false,
+ },
+ ],
+ },
+ tables: [
+ {
+ label: 'Users',
+ description: 'Cognito Users',
+ availableColumns: [
+ {
+ name: 'email',
+ type: 'text',
+ },
+ {
+ name: 'created_at',
+ type: 'text',
+ },
+ {
+ name: 'email_verified',
+ type: 'boolean',
+ },
+ {
+ name: 'identities',
+ type: 'jsonb',
+ },
+ {
+ name: 'username',
+ type: 'text',
+ },
+ {
+ name: 'status',
+ type: 'text',
+ },
+ ],
+ options: [
+ {
+ name: 'object',
+ defaultValue: 'users',
+ editable: false,
+ required: true,
+ type: 'text',
+ },
+ ],
+ },
+ ],
+ },
+ {
+ name: 'mssql_wrapper',
+ handlerName: WRAPPER_HANDLERS.MSSQL,
+ validatorName: 'mssql_fdw_validator',
+ icon: `${BASE_PATH}/img/icons/mssql-icon.svg`,
+ extensionName: 'mssqlFdw',
+ label: 'Microsoft SQL Server',
+ docsUrl: 'https://supabase.com/docs/guides/database/extensions/wrappers/mssql',
+ minimumExtensionVersion: '0.3.0',
+ server: {
+ options: [
+ {
+ name: 'conn_string_id',
+ label: 'Connection String',
+ required: true,
+ encrypted: true,
+ hidden: true,
+ },
+ ],
+ },
+ tables: [
+ {
+ label: 'Microsoft SQL Server Table',
+ description: 'Map to an Microsoft SQL Server Table',
+ options: [
+ {
+ name: 'table',
+ label: 'MSSQL Table',
+ editable: true,
+ required: true,
+ type: 'text',
+ },
+ ],
+ },
+ ],
+ },
+ {
+ name: 'redis_wrapper',
+ handlerName: WRAPPER_HANDLERS.REDIS,
+ validatorName: 'redis_fdw_validator',
+ icon: `${BASE_PATH}/img/icons/redis-icon.svg`,
+ extensionName: 'redisFdw',
+ label: 'Redis',
+ docsUrl: 'https://supabase.com/docs/guides/database/extensions/wrappers/redis',
+ minimumExtensionVersion: '0.3.0',
+ server: {
+ options: [
+ {
+ name: 'conn_url_id',
+ label: 'Connection URL',
+ required: true,
+ encrypted: true,
+ hidden: true,
+ },
+ ],
+ },
+ tables: [
+ {
+ label: 'Redis Table',
+ description: 'Map to an Redis Table',
+ options: [
+ {
+ name: 'src_type',
+ label: 'Source Type',
+ editable: true,
+ required: true,
+ type: 'select',
+ defaultValue: 'list',
+ options: [
+ {
+ label: 'list',
+ value: 'list',
+ },
+ {
+ label: 'set',
+ value: 'set',
+ },
+ {
+ label: 'hash',
+ value: 'hash',
+ },
+ {
+ label: 'zset',
+ value: 'zset',
+ },
+ {
+ label: 'stream',
+ value: 'stream',
+ },
+ {
+ label: 'multi_list',
+ value: 'multi_list',
+ },
+ {
+ label: 'multi_set',
+ value: 'multi_set',
+ },
+ {
+ label: 'multi_hash',
+ value: 'multi_hash',
+ },
+ {
+ label: 'multi_zset',
+ value: 'multi_zset',
+ },
+ ],
+ },
+ {
+ name: 'src_key',
+ label: 'Source Key',
+ editable: true,
+ required: false,
+ type: 'text',
+ },
+ ],
+ },
+ ],
+ },
]
diff --git a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.types.ts b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.types.ts
index d5b57e66937..a95aaed81b5 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/Wrappers.types.ts
+++ b/apps/studio/components/interfaces/Database/Wrappers/Wrappers.types.ts
@@ -8,6 +8,7 @@ export type WrapperMeta = {
server: Server
tables: Table[]
docsUrl: string
+ minimumExtensionVersion?: string
}
export type ServerOption = {
diff --git a/apps/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx b/apps/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
index bff82310924..dd3f98d1a3c 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
+++ b/apps/studio/components/interfaces/Database/Wrappers/WrappersDisabledState.tsx
@@ -67,7 +67,7 @@ const WrappersDisabledState = () => {
}
} finally {
setIsEnabling(false)
- if (!hasError) toast.success('Wrappers is now enabled!')
+ if (!hasError) toast.success('Wrappers are now enabled!')
}
}
diff --git a/apps/studio/public/img/icons/auth0-icon.svg b/apps/studio/public/img/icons/auth0-icon.svg
new file mode 100644
index 00000000000..5b6732f68f8
--- /dev/null
+++ b/apps/studio/public/img/icons/auth0-icon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="256" height="287" preserveAspectRatio="xMidYMid"><path fill="#eb5424" d="m203.24 231.531-28.73-88.434 75.208-54.64h-92.966L128.019.025l-.009-.024h92.98l28.74 88.446.002-.002.024-.013c16.69 51.31-.5 109.67-46.516 143.098zm-150.45 0-.023.017 75.228 54.655 75.245-54.67-75.221-54.656zM6.295 88.434c-17.57 54.088 2.825 111.4 46.481 143.108l.007-.028 28.735-88.429-75.192-54.63h92.944L128.004.024 128.01 0H35.025z"/></svg>
\ No newline at end of file
diff --git a/apps/studio/public/img/icons/cognito-icon.svg b/apps/studio/public/img/icons/cognito-icon.svg
new file mode 100644
index 00000000000..3e6af00742e
--- /dev/null
+++ b/apps/studio/public/img/icons/cognito-icon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="256" height="299" preserveAspectRatio="xMidYMid"><path fill="#7a3e65" d="m208.752 58.061 25.771-6.636.192.283.651 155.607-.843.846-5.31.227-20.159-3.138-.302-.794zM59.705 218.971l.095.007 68.027 19.767.173.133.296.236-.096 59.232-.2.252-68.295-33.178z"/><path fill="#cfb2c1" d="m208.752 204.456-80.64 19.312-40.488-9.773-27.919 4.976L128 238.878l105.405-28.537 1.118-2.18z"/><path fill="#512843" d="m196.295 79.626-.657-.749-66.904-19.44-.734.283-.672-.343L22.052 89.734l-.575.703.845.463 24.075 3.53.851-.289 80.64-19.311 40.488 9.773z"/><path fill="#c17b9e" d="m47.248 240.537-25.771 6.221-.045-.149-1.015-155.026 1.06-1.146 25.771 3.704z"/><path fill="#7a3e65" d="m82.04 180.403 45.96 5.391.345-.515.187-71.887-.532-.589-45.96 5.392z"/><path fill="#c17b9e" d="M173.96 180.403 128 185.794v-72.991l45.96 5.392zM196.295 79.626 128 59.72V0l68.295 33.177z"/><path fill="#7a3e65" d="M128 0 0 61.793v175.011l21.477 9.954V90.437L128 59.72z"/><path fill="#c17b9e" d="M234.523 51.425v156.736L128 238.878v59.72l128-61.794V61.793z"/></svg>
\ No newline at end of file
diff --git a/apps/studio/public/img/icons/mssql-icon.svg b/apps/studio/public/img/icons/mssql-icon.svg
new file mode 100644
index 00000000000..481af02ed9a
--- /dev/null
+++ b/apps/studio/public/img/icons/mssql-icon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path fill="#cfd8dc" d="M23.084,11.277c-1.633-2.449-1.986-5.722-2.063-7.067c-4.148,0.897-8.269,2.506-8.031,3.691 c0.03,0.149,0.218,0.328,0.53,0.502l-0.488,0.873c-0.596-0.334-0.931-0.719-1.022-1.179c-0.269-1.341,1.25-2.554,4.642-3.709 c2.316-0.789,4.652-1.26,4.751-1.279l0.597-0.12L22,3.6c0,0.042,0.026,4.288,1.916,7.123L23.084,11.277z"/><path fill="#cfd8dc" d="M24.751,43H24.5c-8.192,0-17.309-2.573-18.386-6.879c-0.657-2.63,1.492-5.536,6.214-8.401 l0.52,0.854c-4.249,2.579-6.296,5.172-5.763,7.305c0.935,3.738,9.575,6.068,17.153,6.12c0.901-1.347,5.742-9.26,2.979-19.873 l0.967-0.252c3.149,12.092-3.218,20.837-3.282,20.924L24.751,43z"/><path fill="#cfd8dc" d="M9.931,39.306c-0.539,0-0.806-0.059-0.85-0.07c-0.176-0.043-0.314-0.178-0.362-0.352 c-0.049-0.174,0.001-0.361,0.129-0.488c0.072-0.072,7.197-7.208,8.159-12.978l0.986,0.164c-0.827,4.964-5.715,10.623-7.656,12.707 c1.939-0.111,6.835-1.019,16.234-6.28c-7.335-0.804-8.495-6.676-8.507-6.739l0.983-0.181c0.047,0.246,1.226,6.011,9.244,6.011 c0.003,0,0.005,0,0.008,0l0,0c0.227,0,0.424,0.152,0.482,0.37c0.06,0.218-0.036,0.449-0.231,0.563 C17.315,38.542,11.867,39.305,9.931,39.306z"/><path fill="#cfd8dc" d="M14.524,41.7c-0.207,0-0.395-0.128-0.468-0.325c-0.079-0.211-0.007-0.45,0.177-0.582 c0.034-0.025,1.813-1.338,3.706-4.228c-0.728-0.322-1.465-0.698-2.196-1.137c-0.888-0.533-1.559-1.105-2.06-1.691 c-2.57,0.678-4.942,0.946-7.025,0.769l0.084-0.996c1.876,0.159,4.009-0.063,6.321-0.64c-1.573-2.688-0.129-5.356-0.109-5.392 l0.874,0.487c-0.067,0.122-1.265,2.37,0.249,4.633c2.201-0.632,4.549-1.567,6.979-2.782c0.559-1.835,0.996-3.922,1.225-6.276 c0.016-0.161,0.108-0.304,0.248-0.385s0.311-0.088,0.458-0.021c0.032,0.015,3.264,1.491,5.604,2.454 c0.17,0.07,0.288,0.228,0.307,0.411c0.02,0.183-0.063,0.361-0.216,0.465c-2.289,1.56-4.563,2.913-6.778,4.042 c-0.702,2.225-1.571,4.077-2.459,5.591c3.702,1.383,6.915,1.404,6.956,1.404c0.228,0,0.427,0.154,0.484,0.375 c0.057,0.221-0.042,0.452-0.241,0.563c-4.54,2.522-11.767,3.232-12.072,3.261C14.556,41.699,14.54,41.7,14.524,41.7z M18.909,36.967c-1.04,1.614-2.062,2.773-2.826,3.53c1.998-0.294,5.501-0.938,8.408-2.139 C23.099,38.187,21.084,37.807,18.909,36.967z M14.767,33.431c0.393,0.392,0.883,0.775,1.49,1.14 c0.736,0.442,1.483,0.817,2.22,1.135c0.754-1.264,1.501-2.781,2.142-4.568C18.598,32.1,16.636,32.868,14.767,33.431z M23.202,24.329c-0.205,1.768-0.521,3.381-0.913,4.85c1.66-0.885,3.354-1.896,5.062-3.026 C25.802,25.497,24.099,24.734,23.202,24.329z"/><path fill="#cfd8dc" d="M17.924,10.6c-0.117,0-0.233-0.042-0.325-0.12c-1.61-1.378-3.505-4.182-3.585-4.301 c-0.129-0.191-0.109-0.446,0.046-0.616c0.154-0.171,0.408-0.211,0.608-0.102c0.011,0.003,0.938,0.385,7.217,1.431 c0.181,0.03,0.33,0.156,0.39,0.328c0.061,0.172,0.022,0.364-0.1,0.5c-1.758,1.953-3.979,2.813-4.073,2.848 C18.044,10.589,17.983,10.6,17.924,10.6z M15.647,6.746c0.631,0.849,1.54,1.996,2.372,2.769c0.511-0.233,1.657-0.818,2.744-1.798 C18.18,7.276,16.604,6.962,15.647,6.746z"/><path fill="#b71c1c" d="M21.843,24.4c-0.068,0-0.137-0.014-0.201-0.042c-0.199-0.088-0.319-0.294-0.296-0.51 c0.292-2.749-3.926-3.852-3.969-3.862c-0.174-0.044-0.312-0.179-0.359-0.352s0.002-0.359,0.129-0.486 c0.207-0.207,5.139-5.098,11.327-7.784c0.173-0.075,0.369-0.047,0.515,0.07c0.145,0.118,0.212,0.307,0.174,0.489 c-1.186,5.744-6.71,12.044-6.944,12.309C22.12,24.341,21.982,24.4,21.843,24.4z M18.455,19.285 c1.184,0.445,3.258,1.475,3.783,3.356c1.449-1.808,4.542-5.973,5.697-9.934C23.548,14.817,19.854,17.999,18.455,19.285z"/><path fill="#b71c1c" d="M13.079,28.36l-0.475-0.88c1.883-1.015,4.04-2.883,5.807-5.054c-1.504,1.03-2.365,1.735-2.392,1.758 l-0.639-0.77c0.039-0.032,1.764-1.447,4.631-3.22c0.787-1.266,1.392-2.568,1.703-3.816c0.053-0.212,0.099-0.417,0.136-0.615 c-1.925-0.687-3.701-1.094-4.921-1.269c-0.185-0.026-0.339-0.153-0.401-0.328c-0.062-0.175-0.021-0.371,0.104-0.507 c0.085-0.092,2.116-2.268,4.654-3.463c0.197-0.093,0.433-0.047,0.581,0.114c0.067,0.073,1.44,1.615,1.091,4.805 c1.155,0.45,2.345,0.997,3.491,1.648c2.759-1.24,5.892-2.356,9.229-3.03c0.172-0.034,0.363,0.028,0.481,0.168 c0.117,0.14,0.149,0.333,0.083,0.503c-1.3,3.332-4.786,6.891-4.934,7.041c-0.101,0.102-0.239,0.153-0.383,0.148 c-0.143-0.008-0.275-0.076-0.365-0.188c-1.12-1.408-2.584-2.574-4.163-3.523c-2.175,1.004-4.101,2.078-5.684,3.049 C18.693,24.084,15.644,26.979,13.079,28.36z M27.492,17.396c1.29,0.832,2.491,1.81,3.484,2.948 c0.828-0.898,2.815-3.168,3.942-5.422C32.268,15.532,29.76,16.415,27.492,17.396z M22.799,16.122 c-0.033,0.163-0.071,0.33-0.113,0.5c-0.21,0.839-0.544,1.701-0.972,2.561c1.096-0.626,2.309-1.272,3.618-1.898 C24.494,16.841,23.639,16.455,22.799,16.122z M18.048,13.672c1.111,0.218,2.48,0.574,3.941,1.086 c0.152-1.843-0.346-2.972-0.647-3.472C19.966,12.004,18.761,13.014,18.048,13.672z"/><path fill="#b71c1c" d="M18.05,18.5c0,4.38-3.65,7.86-6.28,10.4c-0.44,0.43-1.93,0.5-1.93,0.5 c0.37-0.38,0.79-0.78,1.24-1.21c2.5-2.42,5.97-5.73,5.97-9.69c0-4.69-1.89-6.54-3.38-8.02c-0.66-0.67-1.22-1.31-1.56-2.09 l0.31-0.13c0.34,0.15,0.73,0.32,1.03,0.45c0.24,0.35,0.56,0.69,0.93,1.06C15.91,11.3,18.05,13.4,18.05,18.5z"/><path fill="#b71c1c" d="M42.935,19.794c0,0-0.605,0.086-0.775,0.106c-8.76,0.97-17.8,3.49-22.97,5.56 c-1.87,0.75-3.81,1.66-5.58,2.68c-0.01,0.01-0.02,0.01-0.04,0.02C12.53,28.76,10,30,7.95,31.09c3-3.19,8.62-5.65,10.86-6.55 c5.07-2.03,13.78-4.48,22.35-5.53c-1.01-1.18-3.48-3.68-8.34-5.54c-2.84-1.1-7.16-1.72-10.97-2.27c-6.06-0.87-9.51-1.45-9.84-3.1 c-0.07-0.33-0.02-0.66,0.13-0.98c0.33,0.54,0.8,0.92,1.11,1.14c0.15,0.1,0.26,0.16,0.3,0.18l0.01,0.01 c1.42,0.75,5.25,1.3,8.44,1.76c3.86,0.56,8.23,1.19,11.18,2.32c6.87,2.65,9.24,6.44,9.34,6.6 C42.61,19.28,42.935,19.794,42.935,19.794z"/></svg>
\ No newline at end of file
diff --git a/apps/studio/public/img/icons/redis-icon.svg b/apps/studio/public/img/icons/redis-icon.svg
new file mode 100644
index 00000000000..c2f62d8766f
--- /dev/null
+++ b/apps/studio/public/img/icons/redis-icon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="256" height="220" preserveAspectRatio="xMidYMid"><path fill="#912626" d="M245.97 168.943c-13.662 7.121-84.434 36.22-99.501 44.075-15.067 7.856-23.437 7.78-35.34 2.09-11.902-5.69-87.216-36.112-100.783-42.597C3.566 169.271 0 166.535 0 163.951v-25.876s98.05-21.345 113.879-27.024c15.828-5.679 21.32-5.884 34.79-.95 13.472 4.936 94.018 19.468 107.331 24.344l-.006 25.51c.002 2.558-3.07 5.364-10.024 8.988"/><path fill="#c6302b" d="M245.965 143.22c-13.661 7.118-84.431 36.218-99.498 44.072-15.066 7.857-23.436 7.78-35.338 2.09-11.903-5.686-87.214-36.113-100.78-42.594-13.566-6.485-13.85-10.948-.524-16.166 13.326-5.22 88.224-34.605 104.055-40.284 15.828-5.677 21.319-5.884 34.789-.948 13.471 4.934 83.819 32.935 97.13 37.81 13.316 4.881 13.827 8.9.166 16.02"/><path fill="#912626" d="M245.97 127.074c-13.662 7.122-84.434 36.22-99.501 44.078-15.067 7.853-23.437 7.777-35.34 2.087-11.903-5.687-87.216-36.112-100.783-42.597C3.566 127.402 0 124.67 0 122.085V96.206s98.05-21.344 113.879-27.023c15.828-5.679 21.32-5.885 34.79-.95C162.142 73.168 242.688 87.697 256 92.574l-.006 25.513c.002 2.557-3.07 5.363-10.024 8.987"/><path fill="#c6302b" d="M245.965 101.351c-13.661 7.12-84.431 36.218-99.498 44.075-15.066 7.854-23.436 7.777-35.338 2.087-11.903-5.686-87.214-36.112-100.78-42.594-13.566-6.483-13.85-10.947-.524-16.167C23.151 83.535 98.05 54.148 113.88 48.47c15.828-5.678 21.319-5.884 34.789-.949 13.471 4.934 83.819 32.933 97.13 37.81 13.316 4.88 13.827 8.9.166 16.02z"/><path fill="#912626" d="M245.97 83.653c-13.662 7.12-84.434 36.22-99.501 44.078-15.067 7.854-23.437 7.777-35.34 2.087-11.903-5.687-87.216-36.113-100.783-42.595C3.566 83.98 0 81.247 0 78.665v-25.88s98.05-21.343 113.879-27.021c15.828-5.68 21.32-5.884 34.79-.95C162.142 29.749 242.688 44.278 256 49.155l-.006 25.512c.002 2.555-3.07 5.361-10.024 8.986"/><path fill="#c6302b" d="M245.965 57.93c-13.661 7.12-84.431 36.22-99.498 44.074-15.066 7.854-23.436 7.777-35.338 2.09C99.227 98.404 23.915 67.98 10.35 61.497-3.217 55.015-3.5 50.55 9.825 45.331 23.151 40.113 98.05 10.73 113.88 5.05c15.828-5.679 21.319-5.883 34.789-.948 13.471 4.935 83.819 32.934 97.13 37.811 13.316 4.876 13.827 8.897.166 16.017"/><g fill="#fff"><path d="m159.283 32.757-22.01 2.285-4.927 11.856-7.958-13.23-25.415-2.284 18.964-6.839-5.69-10.498 17.755 6.944 16.738-5.48-4.524 10.855zM131.032 90.275 89.955 73.238l58.86-9.035zM74.082 39.347c17.375 0 31.46 5.46 31.46 12.194 0 6.736-14.085 12.195-31.46 12.195s-31.46-5.46-31.46-12.195c0-6.734 14.085-12.194 31.46-12.194"/></g><path fill="#621b1c" d="m185.295 35.998 34.836 13.766-34.806 13.753z"/><path fill="#9a2928" d="m146.755 51.243 38.54-15.245.03 27.519-3.779 1.478z"/></svg>
\ No newline at end of file