{"id":421,"date":"2025-10-28T18:59:29","date_gmt":"2025-10-28T15:59:29","guid":{"rendered":"https:\/\/promaren.ru\/blog\/2025\/10\/28\/supabase-dlya-khraneniya-dannyh-ai-agentov-prakticheskoe-rukovodstvo\/"},"modified":"2025-10-28T18:59:29","modified_gmt":"2025-10-28T15:59:29","slug":"supabase-dlya-khraneniya-dannyh-ai-agentov-prakticheskoe-rukovodstvo","status":"publish","type":"post","link":"https:\/\/promaren.ru\/blog\/2025\/10\/28\/supabase-dlya-khraneniya-dannyh-ai-agentov-prakticheskoe-rukovodstvo\/","title":{"rendered":"Supabase \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 AI-\u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e"},"content":{"rendered":"<p><em>\u042f \u0434\u0430\u0432\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0430 \u0432\u0435\u0440\u0438\u0442\u044c \u0432 \u043c\u0430\u0433\u0438\u044e, \u043a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0415\u0441\u043b\u0438 AI-\u0430\u0433\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f &#8212; \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e, \u043a\u0430\u043a \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e Supabase \u043a\u0430\u043a \u043d\u0430\u0434\u0435\u0436\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f AI-\u0430\u0433\u0435\u043d\u0442\u043e\u0432: \u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0445\u0435\u043c\u044b \u0432 PostgreSQL \u0438 RLS \u0434\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 n8n \u0438 Make.com, \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 Edge Functions. \u0420\u0430\u0437\u0431\u0435\u0440\u0435\u043c supabase auth, supabase api, \u0441\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u043d\u0430 supabase docker \u0438 \u043d\u044e\u0430\u043d\u0441\u044b 152-\u0424\u0417. \u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0441\u0442\u0440\u043e\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e \u0431\u0435\u0437 \u0445\u0430\u0439\u043f\u0430, \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0438 \u0447\u0435\u0441\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0438 \u0445\u043e\u0447\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u0435\u043b\u0430\u043b\u0441\u044f \u0441\u0430\u043c, \u0430 \u043b\u044e\u0434\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0438 \u0441\u0435\u0431\u0435 \u0432\u0440\u0435\u043c\u044f.<\/em><\/p>\n<p><strong>\u0412\u0440\u0435\u043c\u044f \u0447\u0442\u0435\u043d\u0438\u044f: ~15 \u043c\u0438\u043d\u0443\u0442<\/strong><\/p>\n<nav>\n<ul>\n<li><a href=\"#why-memory\">\u0417\u0430\u0447\u0435\u043c AI-\u0430\u0433\u0435\u043d\u0442\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u0437\u0434\u0435\u0441\u044c Supabase<\/a><\/li>\n<li><a href=\"#arch\">\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0437 \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432: \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u044e \u0438 \u0433\u0434\u0435 \u044d\u0442\u043e \u0436\u0438\u0432\u0435\u0442<\/a><\/li>\n<li><a href=\"#selfhosting\">\u0421\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0431\u0435\u0437 \u0431\u043e\u043b\u0438: supabase docker \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f 152-\u0424\u0417<\/a><\/li>\n<li><a href=\"#schema\">\u0421\u0445\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, RLS \u0438 supabase auth: \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043a\u0430\u043a \u043f\u043e \u043d\u043e\u0442\u0430\u043c<\/a><\/li>\n<li><a href=\"#integrations\">\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 n8n \u0438 Make: \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u043b\u043e\u0433\u0438<\/a><\/li>\n<li><a href=\"#realtime-edge-api\">\u0420\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, Edge \u0438 supabase api: \u043a\u0430\u043a \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0440\u0435\u0430\u043a\u0446\u0438\u044e<\/a><\/li>\n<li><a href=\"#ops\">\u042d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f: \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0431\u044d\u043a\u0430\u043f\u044b, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/a><\/li>\n<li><a href=\"#tips\">\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0432\u0435\u0442\u044b: \u0431\u0435\u0440\u0438\u0442\u0435 \u0438 \u0434\u0435\u043b\u0430\u0439\u0442\u0435<\/a><\/li>\n<li><a href=\"#faq\">\u0427\u0430\u0441\u0442\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e \u044d\u0442\u043e\u0439 \u0442\u0435\u043c\u0435<\/a><\/li>\n<\/ul>\n<\/nav>\n<h2 id=\"why-memory\">\u0417\u0430\u0447\u0435\u043c AI-\u0430\u0433\u0435\u043d\u0442\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u0437\u0434\u0435\u0441\u044c Supabase<\/h2>\n<p>\u0423\u0442\u0440\u043e, \u043a\u043e\u0444\u0435 \u043e\u0441\u0442\u044b\u043b, \u0430\u0433\u0435\u043d\u0442 \u0431\u043e\u0434\u0440\u043e \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u044b, \u043d\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u044f\u0442\u044c \u043c\u0438\u043d\u0443\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0431\u0435\u0449\u0430\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e. \u0417\u043d\u0430\u043a\u043e\u043c\u043e. \u0411\u0435\u0437 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0430\u0433\u0435\u043d\u0442 \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u043f\u0443\u0433\u0430\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442, \u043d\u043e \u043d\u0435 \u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0438 \u043d\u0435 \u0443\u0447\u0438\u0442\u0441\u044f. \u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u0430 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u0435\u0441\u0441\u0438\u0439, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0444\u0430\u0439\u043b\u044b. \u041c\u043d\u0435 \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e, \u0441 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0441 \u0440\u043e\u043b\u0435\u0432\u043e\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0431\u0435\u0437 \u0442\u0430\u043d\u0446\u0435\u0432 \u0432\u043e\u043a\u0440\u0443\u0433 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438. \u0412 supabase \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e PostgreSQL, supabase auth, \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, realtime, Edge Functions \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 supabase api \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 &#8212; \u0438 \u043d\u0435 \u0433\u0430\u0434\u0430\u044e, \u0433\u0434\u0435 \u043a\u0430\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430: AI-\u0430\u0433\u0435\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u0435\u0437\u0436\u0430\u044e\u0442 \u0438\u0437 \u0434\u0435\u043c\u043e \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u044b. \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u044b \u0432 n8n \u0438\u043b\u0438 Make.com, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e 152-\u0424\u0417, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 &#8212; supabase self hosted \u0440\u0435\u0448\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0439 \u0431\u043e\u043b\u0438. \u042f \u0432\u044b\u0431\u0438\u0440\u0430\u044e \u043f\u043e\u0434\u0445\u043e\u0434, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0435 \u0440\u0430\u0437\u043c\u0430\u0437\u0430\u043d\u043e \u043f\u043e \u0442\u0440\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c, \u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0418 \u0434\u0430, \u044f \u043b\u044e\u0431\u043b\u044e, \u043a\u043e\u0433\u0434\u0430 \u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0447\u0435\u0441\u0442\u043d\u044b\u0435, \u0430 \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430\u043c\u0438, \u0430 \u043d\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u0432 \u0447\u0430\u0442\u0435.<\/p>\n<blockquote><p>AI-\u0430\u0433\u0435\u043d\u0442 \u0431\u0435\u0437 \u043f\u0430\u043c\u044f\u0442\u0438 &#8212; \u044d\u0442\u043e \u0447\u0430\u0442. AI-\u0430\u0433\u0435\u043d\u0442 \u0441 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0445 &#8212; \u044d\u0442\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442.<\/p><\/blockquote>\n<h2 id=\"arch\">\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0431\u0435\u0437 \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432: \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u044e \u0438 \u0433\u0434\u0435 \u044d\u0442\u043e \u0436\u0438\u0432\u0435\u0442<\/h2>\n<p>\u042f \u043d\u0430\u0447\u0438\u043d\u0430\u044e \u0441 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0442\u043e\u043d\u0443\u0442\u044c \u0432 \u0434\u0435\u0442\u0430\u043b\u044f\u0445. \u0421\u043b\u043e\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0435: \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0430\u0433\u0435\u043d\u0442\u0430, \u043e\u0440\u043a\u0435\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439, \u0431\u0430\u0437\u0430 \u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u0438. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u044b &#8212; PostgreSQL \u0432\u043d\u0443\u0442\u0440\u0438 Supabase, \u043a\u0430\u043a \u044f\u0434\u0440\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 auth \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u044e, \u0431\u0435\u0440\u0443 supabase auth \u0438 RLS. \u0414\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0438 \u0441\u0435\u0441\u0441\u0438\u0439 \u0434\u0435\u043b\u0430\u044e \u0441\u0432\u043e\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432 &#8212; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435. \u0420\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0442\u0430\u043c, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u0430 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u0430\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f: \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447, \u0441\u0438\u0433\u043d\u0430\u043b \u0430\u0433\u0435\u043d\u0442\u0443 \u043e \u043d\u043e\u0432\u043e\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0438. Edge Functions \u043e\u0442\u0434\u0430\u044e \u043f\u043e\u0434 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438: \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f, \u0434\u0435\u0440\u0433\u0430\u043d\u0438\u0435 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 API, \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u0435\u0431\u0445\u0443\u043a\u0438 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u043f\u0440\u044b\u0436\u043a\u043e\u0432.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e \u043f\u0440\u043e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438: users \u0438\u0437 auth, profiles \u0441 \u0434\u043e\u043f. \u043f\u043e\u043b\u044f\u043c\u0438, agents \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u0438 \u043b\u0438\u043c\u0438\u0442\u0430\u043c\u0438, sessions \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430, messages \u043a\u0430\u043a \u043f\u043e\u0442\u043e\u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, tools_calls \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0430\u0433\u0435\u043d\u0442\u0430, events \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432, tasks \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0414\u043b\u044f \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u044e pgvector &#8212; embeddings \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0439 \u0441 messages \u0438\u043b\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438. \u0425\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u0435\u0440\u0443 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0442\u044f\u043d\u0443\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 S3. \u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u0430\u0436\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u043e\u0434\u0435\u043b\u0438, \u043d\u043e \u0438 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432: \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u043f\u043e user_id, session_id, created_at, \u0438 \u0447\u0435\u0442\u043a\u0438\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430.<\/p>\n<figure>\n  <img decoding=\"async\" src=\"https:\/\/promaren.ru\/blog\/supabase-vs-pinecone-marina-pogodina\/\" alt=\"\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u043a\u0430: Supabase vs Pinecone. \u0410\u0432\u0442\u043e\u0440: Marina Pogodina\"><figcaption>\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435: Supabase vs Pinecone &#8212; \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u0435\u043d \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u0430 \u043a\u043e\u0433\u0434\u0430 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0432 Supabase.<\/figcaption><\/figure>\n<p>\u0412\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043d\u0435 \u0447\u0430\u0441\u0442\u043e \u0437\u0430\u0434\u0430\u044e\u0442: \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u0430\u044f \u0421\u0423\u0411\u0414. \u041e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0437\u0435\u043c\u043b\u0435\u043d\u043d\u044b\u0439. \u041f\u043e\u043a\u0430 \u0430\u0433\u0435\u043d\u0442 \u0436\u0438\u0432\u0435\u0442 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0435, \u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u044b \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438, \u0441\u0432\u044f\u0437\u0438, RLS \u0438 \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445: \u0441\u0442\u0430\u0442\u0443\u0441\u044b, \u0444\u043b\u0430\u0433\u0438, \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430, \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0438. \u0412\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0435\u0442, \u043d\u043e \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043c\u044b \u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u043e Supabase \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u043a\u0430\u043a \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043f\u0440\u0430\u0432\u0434\u044b. \u041f\u043e \u043f\u0443\u0442\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u0435\u043b\u043e\u0447\u0438: \u0440\u0435\u0442\u0435\u043d\u0446\u0438\u0438, \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435, storage buckets \u0434\u043b\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043b\u0438\u043c\u0438\u0442\u044b \u043d\u0430 \u0440\u0430\u0437\u043c\u0435\u0440. \u041d\u0438\u0447\u0435\u0433\u043e \u0440\u043e\u043c\u0430\u043d\u0442\u0438\u0447\u043d\u043e\u0433\u043e, \u0437\u0430\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<div class=\"callout\">\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 PostgreSQL, Supabase \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0430\u043a \u0443\u0434\u043e\u0431\u043d\u0443\u044e \u043e\u0431\u0435\u0440\u0442\u043a\u0443 \u0441 auth, storage \u0438 realtime. \u041d\u043e \u043b\u0438\u0447\u043d\u043e \u043c\u043d\u0435 \u043f\u0440\u043e\u0449\u0435 \u043d\u0435 \u0440\u0430\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0437\u043e\u043e\u043f\u0430\u0440\u043a \u0438 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u044f\u0434\u0440\u043e \u0440\u044f\u0434\u043e\u043c &#8212; \u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0434\u044b\u0440.<\/div>\n<h2 id=\"selfhosting\">\u0421\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0431\u0435\u0437 \u0431\u043e\u043b\u0438: supabase docker \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f 152-\u0424\u0417<\/h2>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0440\u0435\u0447\u044c \u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u044f \u0432\u043a\u043b\u044e\u0447\u0430\u044e \u0440\u0435\u0436\u0438\u043c white-data-\u0437\u043e\u043d\u044b \u0438 \u0437\u0430\u0448\u0438\u0432\u0430\u044e \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0434\u0432\u0430: \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 supabase com \u0434\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0430 \u0438 supabase self hosting \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430, \u043a\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0420\u0424. \u0421\u0430\u043c\u044b\u0439 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u0443\u0442\u044c &#8212; supabase docker, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 Postgres, Studio, Kong, storage \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u0414\u0430\u043b\u044c\u0448\u0435 \u0443\u0436\u0435 \u0434\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0438: \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0411\u0414, \u043a\u043b\u044e\u0447\u0438, \u043a\u043e\u043d\u0444\u0438\u0433\u0438 \u0434\u043b\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u0435\u043b\u0438 \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0438\u043b\u0438 \u0432 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c \u043e\u0431\u043b\u0430\u043a\u0435.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 docker compose \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0442\u0430 \u044f \u0434\u0435\u0440\u0436\u0443 \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439. \u0414\u0430, \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043e, \u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0438\u0434\u0435\u044e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0434\u043b\u044f dev \u0438 \u0442\u0435\u0441\u0442\u0430. \u0412 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0442\u043e\u043c\u0430, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433, \u0431\u044d\u043a\u0430\u043f\u044b \u0438 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u0438\u0437 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432.<\/p>\n<pre><code>version: \"3.9\"\r\nservices:\r\n  db:\r\n    image: supabase\/postgres:15.1.0.43\r\n    environment:\r\n      POSTGRES_PASSWORD: supersecret\r\n      POSTGRES_DB: postgres\r\n    volumes:\r\n      - db-data:\/var\/lib\/postgresql\/data\r\n  kong:\r\n    image: supabase\/kong:latest\r\n    depends_on: [db]\r\n  auth:\r\n    image: supabase\/gotrue:latest\r\n    environment:\r\n      GOTRUE_JWT_SECRET: verysecret\r\n      GOTRUE_SITE_URL: http:\/\/localhost:3000\r\n  rest:\r\n    image: supabase\/postgrest:latest\r\n    environment:\r\n      PGRST_DB_URI: postgres:\/\/postgres:supersecret@db:5432\/postgres\r\n  realtime:\r\n    image: supabase\/realtime:latest\r\n  storage:\r\n    image: supabase\/storage-api:latest\r\nvolumes:\r\n  db-data:\r\n<\/code><\/pre>\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c 152-\u0424\u0417 \u044f \u0434\u0435\u043b\u0430\u044e \u0442\u0440\u0438 \u0432\u0435\u0449\u0438. \u041f\u0435\u0440\u0432\u043e\u0435 &#8212; \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u044f: \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0432 \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0435 \u0432 \u0420\u0424 \u0438 \u0434\u043e\u0433\u043e\u0432\u043e\u0440 \u0441 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u043c \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0412\u0442\u043e\u0440\u043e\u0435 &#8212; \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0440\u043e\u043b\u0435\u0439 \u0438 \u0440\u0430\u0437\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430: supabase auth, RLS, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0438 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0437\u0430\u043f\u0440\u0435\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c service_role \u0432 \u043a\u043b\u0438\u0435\u043d\u0442. \u0422\u0440\u0435\u0442\u044c\u0435 &#8212; \u0431\u044d\u043a\u0430\u043f\u044b \u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0430 \u0441\u0438\u0441\u0442\u0435\u043c: \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435, \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043f\u043e \u0440\u0435\u0433\u043b\u0430\u043c\u0435\u043d\u0442\u0443, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u041a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0441\u043a\u0430 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u043e\u043b\u043e\u043d\u043e\u043a pgcrypto &#8212; \u043d\u0435 \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u0430\u044f \u043f\u0443\u043b\u044f, \u043d\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u0440\u0438\u0441\u043a\u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0435\u0442\u0430\u0446\u0438\u0438 \u0434\u0438\u0441\u043a\u0430.<\/p>\n<blockquote><p>\u0411\u0435\u0437 \u043f\u043b\u0430\u043d\u0430 \u0431\u044d\u043a\u0430\u043f\u043e\u0432 \u0432\u044b \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0432\u044b \u0438\u0445 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u0435\u0440\u0436\u0438\u0442\u0435.<\/p><\/blockquote>\n<h2 id=\"schema\">\u0421\u0445\u0435\u043c\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, RLS \u0438 supabase auth: \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043a\u0430\u043a \u043f\u043e \u043d\u043e\u0442\u0430\u043c<\/h2>\n<p>\u042f \u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0441 \u043c\u044b\u0441\u043b\u044c\u044e, \u0447\u0442\u043e \u043b\u044e\u0431\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u0430 \u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0438 \u0430\u0433\u0435\u043d\u0442\u0443. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440: profiles, agents, sessions, messages, tasks, events, embeddings. \u0412 Supabase \u0441\u0440\u0430\u0437\u0443 \u0432\u043a\u043b\u044e\u0447\u0430\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 pgvector \u0438 \u0441\u043e\u0437\u0434\u0430\u044e \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430. \u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 RLS \u0434\u0435\u0440\u0436\u0443 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438: \u043a\u0430\u0436\u0434\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e user_id \u0438\u0437 \u0442\u043e\u043a\u0435\u043d\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 owner_id \u0437\u0430\u043f\u0438\u0441\u0438. \u042d\u0442\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432 \u043d\u0430 \u043f\u0440\u043e\u0434\u0435 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0439.<\/p>\n<p>\u041d\u0438\u0436\u0435 &#8212; \u043f\u0440\u0438\u043c\u0435\u0440 SQL, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043a\u0430\u043a \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0443\u044e \u0442\u043e\u0447\u043a\u0443. \u0422\u0443\u0442 \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u044b, \u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438. \u041d\u0435 \u0438\u0434\u0435\u0430\u043b \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u043d\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0440\u043a\u0430\u0441 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0430\u0433\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432.<\/p>\n<pre><code>-- \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c pgvector\r\ncreate extension if not exists vector;\r\n\r\n-- \u043f\u0440\u043e\u0444\u0438\u043b\u0438\r\ncreate table public.profiles (\r\n  user_id uuid primary key references auth.users(id) on delete cascade,\r\n  full_name text,\r\n  created_at timestamp with time zone default now()\r\n);\r\n\r\n-- \u0430\u0433\u0435\u043d\u0442\u044b\r\ncreate table public.agents (\r\n  id uuid primary key default gen_random_uuid(),\r\n  user_id uuid not null references public.profiles(user_id) on delete cascade,\r\n  name text not null,\r\n  config jsonb not null default '{}'::jsonb,\r\n  created_at timestamptz default now()\r\n);\r\ncreate index on public.agents (user_id);\r\n\r\n-- \u0441\u0435\u0441\u0441\u0438\u0438\r\ncreate table public.sessions (\r\n  id uuid primary key default gen_random_uuid(),\r\n  agent_id uuid not null references public.agents(id) on delete cascade,\r\n  user_id uuid not null references public.profiles(user_id) on delete cascade,\r\n  title text,\r\n  created_at timestamptz default now()\r\n);\r\ncreate index on public.sessions (user_id);\r\n\r\n-- \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\r\ncreate table public.messages (\r\n  id bigserial primary key,\r\n  session_id uuid not null references public.sessions(id) on delete cascade,\r\n  user_id uuid not null references public.profiles(user_id) on delete cascade,\r\n  role text check (role in ('user','assistant','system')),\r\n  content text not null,\r\n  created_at timestamptz default now()\r\n);\r\ncreate index on public.messages (session_id, created_at);\r\n\r\n-- \u0432\u0435\u043a\u0442\u043e\u0440\u0430\r\ncreate table public.embeddings (\r\n  message_id bigint primary key references public.messages(id) on delete cascade,\r\n  embedding vector(1536)\r\n);\r\ncreate index on public.embeddings using ivfflat (embedding vector_cosine_ops);\r\n\r\n-- \u0437\u0430\u0434\u0430\u0447\u0438\r\ncreate table public.tasks (\r\n  id uuid primary key default gen_random_uuid(),\r\n  user_id uuid not null references public.profiles(user_id) on delete cascade,\r\n  description text,\r\n  status text default 'pending',\r\n  created_at timestamptz default now()\r\n);\r\n\r\n-- \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c RLS \u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438\r\nalter table public.profiles enable row level security;\r\nalter table public.agents enable row level security;\r\nalter table public.sessions enable row level security;\r\nalter table public.messages enable row level security;\r\nalter table public.embeddings enable row level security;\r\nalter table public.tasks enable row level security;\r\n\r\ncreate policy \"user_is_owner_profiles\" on public.profiles\r\n  using (auth.uid() = user_id);\r\n\r\ncreate policy \"user_is_owner_agents\" on public.agents\r\n  using (auth.uid() = user_id);\r\n\r\ncreate policy \"user_is_owner_sessions\" on public.sessions\r\n  using (auth.uid() = user_id);\r\n\r\ncreate policy \"user_is_owner_messages\" on public.messages\r\n  using (auth.uid() = user_id);\r\n\r\ncreate policy \"user_is_owner_embeddings\" on public.embeddings\r\n  using (exists (\r\n    select 1 from public.messages m\r\n    where m.id = embeddings.message_id and m.user_id = auth.uid()\r\n  ));\r\n\r\ncreate policy \"user_is_owner_tasks\" on public.tasks\r\n  using (auth.uid() = user_id);\r\n<\/code><\/pre>\n<p>\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u0431\u0435\u0440\u0443 supabase auth, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u044b, \u043c\u0430\u0433\u0438\u044f JWT \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447, \u0432 n8n \u043e\u043d \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u043a\u0440\u0435\u0434\u0435\u043d\u0448\u0435\u043b\u0430\u0445, \u0430 \u0432\u0441\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0438\u0434\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0442\u043e\u043a\u0435\u043d. \u0414\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439 &#8212; supabase api \u043d\u0430 \u0431\u0430\u0437\u0435 PostgREST: \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0440\u0433\u0430\u0442\u044c REST \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u044b \u0434\u043b\u044f \u0442\u0430\u0431\u043b\u0438\u0446, \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u0430\u0433\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code>GET \/rest\/v1\/tasks?status=eq.in_progress&amp;select=id,description,created_at\r\napikey: &lt;public-anon-key&gt;\r\nAuthorization: Bearer &lt;user-jwt&gt;\r\n<\/code><\/pre>\n<div class=\"callout\">\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u0431\u044d\u043a\u0435\u043d\u0434, Edge Functions \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442 80% \u0437\u0430\u0434\u0430\u0447. \u041d\u043e \u044f \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0443 \u0431\u043b\u0438\u0436\u0435 \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u0438 \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0440\u0430\u0434\u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432.<\/div>\n<h2 id=\"integrations\">\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 n8n \u0438 Make: \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u043b\u043e\u0433\u0438<\/h2>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432 \u0438\u0433\u0440\u0443 \u0432\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043e\u0440\u043a\u0435\u0441\u0442\u0440\u043e\u0432\u043a\u0430, \u0433\u043b\u0430\u0432\u043d\u043e\u0435 &#8212; \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u0441\u0442\u044c. \u0412 n8n \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u0432\u0430 \u043f\u0443\u0442\u0438: \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 Postgres node \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u043e\u0432 SQL \u0438 HTTP Request \u043a supabase api. \u0414\u043b\u044f Make.com \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e &#8212; HTTP \u0438 Webhooks. \u041b\u043e\u0433\u0438 \u043f\u0438\u0448\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 events, \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044e \u0442\u0438\u043f \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a, payload \u0438 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c. \u042d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0438 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u0438 \u0434\u043b\u044f \u043c\u0435\u0442\u0440\u0438\u043a. \u0421\u0430\u043c\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043b\u0438\u043d\u0435\u0439\u043d\u043e\u0439: \u043f\u0440\u0438\u0448\u043b\u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0435 &#8212; \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438 &#8212; \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b\u0438 &#8212; \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 &#8212; \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u0422\u0438\u043f\u0438\u0447\u043d\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432 n8n \u0434\u043b\u044f \u0430\u0433\u0435\u043d\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a: \u0432\u0435\u0431\u0445\u0443\u043a \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441, \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u0447\u0435\u0440\u0435\u0437 supabase auth, \u043f\u0438\u0448\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 embeddings, \u0434\u0435\u0440\u0433\u0430\u0435\u043c \u043c\u043e\u0434\u0435\u043b\u044c, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442, \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u043c \u0447\u0435\u0440\u0435\u0437 realtime \u043a\u0430\u043d\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443. \u0415\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u0438 \u0440\u0435\u0442\u0440\u0430\u0438 \u0441 backoff. \u0414\u0430, \u0438\u043d\u043e\u0433\u0434\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0437\u0430\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 &#8212; \u043d8n \u0443\u043c\u0435\u0435\u0442 \u0443\u0434\u0438\u0432\u043b\u044f\u0442\u044c &#8212; \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u044b \u0432\u0435\u0447\u0435\u0440\u043e\u0432 \u0432\u0441\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p>\u042f \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u043c\u0443\u0442\u0430\u0442\u043e\u0440\u043e\u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0432 \u0434\u0435\u0441\u044f\u0442\u0438 \u043c\u0435\u0441\u0442\u0430\u0445. \u0415\u0441\u043b\u0438 \u0430\u0433\u0435\u043d\u0442 \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438, \u043e\u043d \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u0438\u043d \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438 \u043f\u0438\u0448\u0435\u0442 \u0432 tasks, \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u0435. \u0422\u043e\u0433\u0434\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043e\u0434\u043d\u0443 \u043f\u0440\u0430\u0432\u0434\u0443. \u0412 Make.com \u043c\u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u044f\u0441\u043d\u043e\u0441\u0442\u044c, \u043d\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u044f \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043e\u0442\u0434\u0430\u044e \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0411\u0414, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u0435\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0438 RLS, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0434\u0430\u0441\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0447\u0443\u0436\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443.<\/p>\n<blockquote><p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0432 \u0431\u0430\u0437\u0435, \u043f\u043e\u0442\u043e\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435. \u041d\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442. \u0418\u043d\u0430\u0447\u0435 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u0432\u044b \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0435 \u0447\u0435\u0439-\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u0438 \u0441\u0431\u043e\u0435 \u0441\u0435\u0442\u0438.<\/p><\/blockquote>\n<p>\u0414\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 MCP \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 HTTP \u0441\u043b\u043e\u0439 \u043f\u043e\u0432\u0435\u0440\u0445 supabase api. supabase mcp \u0432 \u043c\u043e\u0435\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 &#8212; \u044d\u0442\u043e \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435: \u0430\u0433\u0435\u043d\u0442 \u0447\u0435\u0440\u0435\u0437 MCP \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c, \u043c\u043e\u0434\u0443\u043b\u044c \u0447\u0438\u0442\u0430\u0435\u0442 \u0438 \u043f\u0438\u0448\u0435\u0442 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0438 \u0447\u0435\u0442\u043a\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0435 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u044b. \u0422\u0443\u0442 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0430 \u0432\u0430\u0436\u043d\u0435\u0435 \u043c\u043e\u0434\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 &#8212; \u043b\u0435\u0433\u043a\u043e \u0443\u0442\u0435\u0447\u044c \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 service_role. \u0412\u0441\u0435\u0433\u0434\u0430 \u0445\u0440\u0430\u043d\u044e \u0442\u0430\u043a\u043e\u0439 \u043a\u043b\u044e\u0447 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442\u0435. \u0418 \u0434\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0434\u0435\u043b\u0430\u044e \u0434\u0432\u0430\u0436\u0434\u044b, \u043d\u0435 \u0441\u0442\u044b\u0436\u0443\u0441\u044c.<\/p>\n<h2 id=\"realtime-edge-api\">\u0420\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, Edge \u0438 supabase api: \u043a\u0430\u043a \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0440\u0435\u0430\u043a\u0446\u0438\u044e<\/h2>\n<p>\u0420\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0432 Supabase &#8212; \u044d\u0442\u043e \u043b\u0435\u0433\u043a\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0440\u043e\u043d\u0442\u0443 \u0441\u0438\u0433\u043d\u0430\u043b, \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043a\u0430\u043d\u0430\u043b\u044b \u043f\u043e session_id \u0438\u043b\u0438 user_id, \u0447\u0442\u043e\u0431\u044b \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0443\u043c. \u041a\u043e\u0433\u0434\u0430 \u0430\u0433\u0435\u043d\u0442 \u0437\u0430\u043f\u0438\u0441\u0430\u043b \u043d\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 messages, \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u042d\u0442\u043e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0431\u0430\u0437\u0443 \u043a\u0430\u0436\u0434\u044b\u0435 \u043f\u044f\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434 \u0438 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0435\u0437 \u043f\u043e\u043b\u044c\u0437\u044b. Edge Functions \u0431\u0435\u0440\u0443 \u0442\u0430\u043c, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u0430\u044f \u0440\u0435\u0430\u043a\u0446\u0438\u044f \u0440\u044f\u0434\u043e\u043c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438: \u0432\u0435\u0431\u0445\u0443\u043a\u0438 \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0438\u0441\u044c\u044e, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u043e\u0432.<\/p>\n<p>supabase api \u0432\u044b\u0440\u0443\u0447\u0430\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u0441\u0442\u0440\u044b\u0439 REST \u043f\u043e\u0432\u0435\u0440\u0445 \u0442\u0430\u0431\u043b\u0438\u0446. \u0424\u0438\u043b\u044c\u0442\u0440\u044b, \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f &#8212; \u0432\u0441\u0451 \u0435\u0441\u0442\u044c \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438. \u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 n8n \u0447\u0435\u0440\u0435\u0437 HTTP Request \u044f \u0434\u0435\u0440\u0436\u0443 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c: \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 apikey \u0438 Authorization, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 URL, \u043b\u0438\u043c\u0438\u0442\u044b \u0438 \u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f \u0447\u0435\u0440\u0435\u0437 range. \u0414\u043b\u044f \u0434\u043e\u043b\u0433\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0434\u0435\u043b\u0430\u044e \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438: \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u0435, \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437 embeddings, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0432\u0435\u0442 \u043c\u043e\u0434\u0435\u043b\u044c\u044e, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441. \u0412 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u0435 \u044f \u0441\u0442\u0430\u0440\u0430\u044e\u0441\u044c \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0439 \u043c\u0430\u0433\u0438\u0438 &#8212; \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0442\u0430\u0431\u043b\u0438\u0446 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0441\u0430\u043c\u0438 \u0437\u0430 \u0441\u0435\u0431\u044f.<\/p>\n<p>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0448\u0442\u0440\u0438\u0445: \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u0442\u0440\u043e\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 pipeline \u043f\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0432\u0440\u043e\u0434\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e api open ai, \u0442\u043e Supabase \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044f \u0441 \u0442\u0430\u043a\u043e\u0439 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u043e\u0439. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043b\u043e\u0433\u0438\u0440\u0443\u0435\u043c \u0432\u0445\u043e\u0434, \u0437\u0430\u0442\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0432\u044b\u0437\u043e\u0432, \u0437\u0430\u0442\u0435\u043c \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u0432\u044b\u0445\u043e\u0434. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0431\u043b\u0438\u0436\u0435 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0430\u0443\u0434\u0438\u043e \u0438 \u043c\u0443\u0437\u044b\u043a\u043e\u0439, \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0442\u0435\u0433\u0430\u043c \u0434\u043b\u044f suno ai &#8212; \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043b\u044f \u0443\u043d\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445. \u042f \u043d\u0435 \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u044e \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u043e\u043c\u0435\u043d\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435, \u043d\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u0438 \u043c\u0438\u0440\u044b \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u044b\u043c\u0438 \u043a \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0435.<\/p>\n<div class=\"callout\"><strong>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0442\u0435\u0445\u043d\u0438\u043a\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438.<\/strong> \u0414\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 anon key, \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 &#8212; service_role, \u0438 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0432\u0442\u043e\u0440\u043e\u0439 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043b\u043e\u0433\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 Kong \u0438 \u043b\u0438\u043c\u0438\u0442\u044b.<\/div>\n<h2 id=\"ops\">\u042d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f: \u043c\u0435\u0442\u0440\u0438\u043a\u0438, \u0431\u044d\u043a\u0430\u043f\u044b, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/h2>\n<p>\u0412 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043c\u0435\u043d\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0442\u0440\u0438 \u0432\u0435\u0449\u0438: \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0442\u043a\u043b\u0438\u043a\u0430, \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u0438 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438. \u041c\u0435\u0442\u0440\u0438\u043a\u0438 \u0434\u0435\u0440\u0436\u0443 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0411\u0414 \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0438 \u0447\u0442\u0435\u043d\u0438\u0435, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u0435\u0441\u0441\u0438\u0439, \u0434\u043e\u043b\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c. \u0411\u044d\u043a\u0430\u043f\u044b \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f &#8212; \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0440\u0443\u0442\u0438\u043d\u0430 \u0440\u0430\u0437 \u0432 \u043a\u0432\u0430\u0440\u0442\u0430\u043b. \u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e \u0441\u0440\u043e\u043a\u0438 \u0436\u0438\u0437\u043d\u0438: \u0441\u043e\u0431\u044b\u0442\u0438\u044f 90 \u0434\u043d\u0435\u0439, \u0441\u044b\u0440\u044b\u0435 \u043b\u043e\u0433\u0438 30, \u0430\u0433\u0440\u0435\u0433\u0430\u0442\u044b &#8212; \u0431\u0435\u0441\u0441\u0440\u043e\u0447\u043d\u043e. \u042d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u0434\u0438\u0441\u043a \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0433\u0438\u0433\u0438\u0435\u043d\u0443. \u041a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0438 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0441 \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 pgcrypto \u043f\u043b\u044e\u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0430 &#8212; \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0441\u043f\u0430\u0442\u044c \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u0435\u0435.<\/p>\n<p>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435: \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u043f\u043e \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u043c, \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 messages \u043f\u043e \u043c\u0435\u0441\u044f\u0446\u0430\u043c \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043c\u0430\u0445, \u0441\u0436\u0430\u0442\u0438\u0435 \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0444\u0430\u0439\u043b\u043e\u0432, \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 RLS \u0431\u0435\u0437 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043f\u043e\u0434\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 n8n \u0438 Make.com &#8212; \u0440\u0435\u0442\u0440\u0430\u0438 \u0441 \u0434\u0436\u0438\u0442\u0442\u0435\u0440\u043e\u043c, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u0435\u043b\u0438 \u0434\u043b\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0445 API, \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u0441 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u0441\u0443\u0434\u043e\u0440\u043e\u0436\u043d\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f &#8212; \u0434\u043e\u0440\u043e\u0436\u0435, \u0447\u0435\u043c \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435. \u0421\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044d\u0442\u043e \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442? \u041c\u043d\u043e\u0433\u043e, \u044f \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0430 \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0446\u0438\u0434\u0435\u043d\u0442\u043e\u0432 \u0443\u043f\u0430\u043b\u043e \u0432\u0434\u0432\u043e\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0431\u0435\u0437 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439.<\/p>\n<blockquote><p>\u0425\u043e\u0440\u043e\u0448\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 &#8212; \u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043b\u0435\u0433\u043a\u043e \u0447\u0438\u043d\u0438\u0442\u044c. \u041f\u043b\u043e\u0445\u0430\u044f &#8212; \u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0441\u0442\u0440\u0430\u0448\u043d\u043e \u0442\u0440\u043e\u0433\u0430\u0442\u044c.<\/p><\/blockquote>\n<p>\u0418\u0437 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0439. supabase co \u0438 supabase com \u043a\u0430\u043a \u0434\u043e\u043c\u0435\u043d\u044b \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043d\u043e \u0432 \u043f\u0440\u043e\u0434\u0435 \u044f \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u044e \u0441\u0432\u043e\u0439 \u0434\u043e\u043c\u0435\u043d \u0438 \u043d\u0435 \u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0441\u044c \u043d\u0430 \u0440\u0435\u0434\u0438\u0440\u0435\u043a\u0442\u044b. \u0412\u0435\u0440\u0441\u0438\u043e\u043d\u043d\u043e\u0441\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u0432\u0435\u0434\u0443 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043c\u0438, \u0430 \u043d\u0435 SQL \u043f\u043e \u043f\u0430\u043c\u044f\u0442\u0438. \u0414\u043b\u044f realtime \u043b\u0443\u0447\u0448\u0435 \u0441\u0440\u0430\u0437\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u043d\u0430\u043b\u043e\u0432, \u0438\u043d\u0430\u0447\u0435 \u0447\u0430\u0442 \u0441 \u0442\u044b\u0441\u044f\u0447\u0430\u043c\u0438 \u0442\u0435\u043c \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u0432 \u043f\u0435\u0447\u044c. \u0414\u043b\u044f Edge Functions \u0441\u043b\u0435\u0434\u0438\u0442\u0435 \u0437\u0430 \u043b\u0438\u043c\u0438\u0442\u0430\u043c\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u043f\u0430\u043c\u044f\u0442\u0438, \u0438\u043d\u0430\u0447\u0435 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u044b\u0435 \u0442\u0430\u0439\u043c-\u0430\u0443\u0442\u044b \u043d\u0430\u0447\u043d\u0443\u0442 \u0441\u044a\u0435\u0434\u0430\u0442\u044c \u043d\u0435\u0440\u0432\u044b. \u0418 \u0435\u0449\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f, \u043d\u043e \u0432\u0430\u0436\u043d\u0430\u044f \u043c\u0435\u043b\u043e\u0447\u044c: \u0432\u044b\u043d\u0435\u0441\u0438\u0442\u0435 \u043a\u043b\u044e\u0447\u0438 \u0432 \u0441\u0435\u043a\u0440\u0435\u0442\u044b \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u043d\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u044d\u0442\u043e 5 \u043c\u0438\u043d\u0443\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0438 \u043c\u0438\u043d\u0443\u0441 \u043e\u0434\u043d\u0430 \u0431\u0435\u0441\u0441\u043e\u043d\u043d\u0430\u044f \u043d\u043e\u0447\u044c \u0437\u0430\u0432\u0442\u0440\u0430.<\/p>\n<h2 id=\"tips\">\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043e\u0432\u0435\u0442\u044b: \u0431\u0435\u0440\u0438\u0442\u0435 \u0438 \u0434\u0435\u043b\u0430\u0439\u0442\u0435<\/h2>\n<p>\u041d\u0438\u0436\u0435 \u0441\u043f\u0438\u0441\u043e\u043a \u0448\u0430\u0433\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0430\u0433\u0435\u043d\u0442\u0430 \u0431\u0435\u0437 \u0441\u0443\u0435\u0442\u044b. \u0414\u0430, \u0437\u0432\u0443\u0447\u0438\u0442 \u0431\u0430\u0437\u043e\u0432\u043e, \u043d\u043e \u044f \u0441\u0430\u043c\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043b\u043e\u0432\u043b\u044e \u0441\u0435\u0431\u044f \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u043a\u0438\u0432\u0430\u044e \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u0443\u043d\u043a\u0442\u044b, \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0441\u044c \u0438 \u0447\u0438\u043d\u044e. \u041b\u0443\u0447\u0448\u0435 \u0441\u0440\u0430\u0437\u0443 \u0440\u043e\u0432\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c.<\/p>\n<ol>\n<li>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435 \u0441\u0445\u0435\u043c\u0443. \u041d\u0430\u0447\u043d\u0438\u0442\u0435 \u0441 users, agents, sessions, messages, tasks, events, embeddings. \u041f\u0440\u043e\u043f\u0438\u0448\u0438\u0442\u0435 \u0441\u0432\u044f\u0437\u0438 \u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u044b. \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 pgvector.<\/li>\n<li>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 RLS \u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438. \u0421\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044f \u043e\u0434\u043d\u0430 &#8212; \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u0438\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0435. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<\/li>\n<li>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043b\u0430\u043a\u043e, \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u0438 &#8212; supabase self hosted \u0447\u0435\u0440\u0435\u0437 supabase docker \u0432 \u0420\u0424.<\/li>\n<li>\u0421\u043e\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e. \u0412 n8n \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 Postgres node \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439 \u0438 HTTP \u0434\u043b\u044f supabase api. \u0412 Make.com \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 Webhooks \u0438 REST \u0432\u044b\u0437\u043e\u0432\u044b.<\/li>\n<li>\u041f\u0440\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044e. \u0411\u044d\u043a\u0430\u043f\u044b, \u0436\u0443\u0440\u043d\u0430\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0440\u0435\u0442\u0435\u043d\u0446\u0438\u0438, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433. \u0417\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043f\u043e \u043e\u0442\u0432\u0435\u0442\u0430\u043c \u0411\u0414 \u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u043c.<\/li>\n<\/ol>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0430\u0432\u0438\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u0434\u0435\u0440\u0436\u0443 \u043f\u0435\u0440\u0435\u0434 \u0433\u043b\u0430\u0437\u0430\u043c\u0438. \u041f\u0440\u0430\u0432\u0438\u043b\u043e 1: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0431\u0430\u0437\u0443, \u043f\u043e\u0442\u043e\u043c \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f. \u041f\u0440\u0430\u0432\u0438\u043b\u043e 2: \u043d\u0438 \u043e\u0434\u0438\u043d \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u043d\u0435 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u043a\u043b\u0438\u0435\u043d\u0442. \u041f\u0440\u0430\u0432\u0438\u043b\u043e 3: \u043a\u0430\u0436\u0434\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0438\u0434\u0435\u0442 \u043d\u0435 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e, \u0430 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u0441\u043b\u043e\u0439 &#8212; Edge \u0438\u043b\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u044b. \u041f\u0440\u0430\u0432\u0438\u043b\u043e 4: \u0440\u0430\u0437 \u0432 \u043c\u0435\u0441\u044f\u0446 \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438\u0437 \u0431\u044d\u043a\u0430\u043f\u0430. \u041f\u0440\u0430\u0432\u0438\u043b\u043e 5: \u0442\u0435\u0441\u0442\u044b \u043d\u0430 RLS, \u0447\u0442\u043e\u0431\u044b \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0447\u0443\u0436\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u043c. \u0414\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0430 \u0441\u043a\u0443\u0447\u043d\u0430, \u0437\u0430\u0442\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u044b\u043c, \u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u0432\u0437\u0440\u043e\u0441\u043b\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<div class=\"callout\">\u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0435\u043a \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u0438\u0437 \u0436\u0438\u0432\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0434\u0435\u043b\u044e\u0441\u044c \u0445\u043e\u0434\u043e\u043c \u0440\u0430\u0431\u043e\u0442 \u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u043c\u0438 \u043d\u0430\u0445\u043e\u0434\u043a\u0430\u043c\u0438 \u0443 \u0441\u0435\u0431\u044f \u0432 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0435. \u041f\u043e\u0434\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435, \u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435, \u0438 \u043d\u0435 \u0431\u043e\u0439\u0442\u0435\u0441\u044c \u043f\u0435\u0440\u0435\u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u0440\u0435\u0430\u043b\u0438\u0438.<\/div>\n<h2>\u0422\u0438\u0445\u0430\u044f \u0440\u0430\u0437\u0432\u044f\u0437\u043a\u0430: \u043d\u0430 \u0447\u0442\u043e \u0441\u0442\u0430\u0432\u043b\u044e \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445<\/h2>\n<p>\u042f \u0432\u044b\u0431\u0440\u0430\u043b\u0430 Supabase \u043d\u0435 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043c\u043e\u0434\u043d\u043e, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043c\u043d\u0435 \u0447\u0430\u0441\u044b \u0432 \u043d\u0435\u0434\u0435\u043b\u0435. \u042d\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 PostgreSQL \u0432 \u0446\u0435\u043d\u0442\u0440\u0435, \u0433\u0434\u0435 supabase auth \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e, supabase api &#8212; \u0431\u044b\u0441\u0442\u0440\u044b\u0439 REST \u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c, realtime &#8212; \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u0434\u043b\u044f \u0444\u0440\u043e\u043d\u0442\u0430, Edge &#8212; \u043b\u0435\u0433\u043a\u0430\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430. \u0412 \u0441\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435 \u0447\u0435\u0440\u0435\u0437 supabase docker \u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f 152-\u0424\u0417, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0420\u0424 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u044e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u044b \u0432\u0435\u043a\u0442\u043e\u0440\u0430 &#8212; \u0432\u043a\u043b\u044e\u0447\u0430\u044e pgvector \u0438 \u0436\u0438\u0432\u0443 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u0440\u043e\u0441\u0442 &#8212; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e \u0438\u043d\u0434\u0435\u043a\u0441\u044b, \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e \u043e\u0440\u043a\u0435\u0441\u0442\u0440\u043e\u0432\u043a\u0443.<\/p>\n<p>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e: \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043a\u0432\u0435\u0441\u0442\u043e\u043c. \u0421\u0445\u0435\u043c\u0430, RLS, \u043b\u043e\u0433\u0438, \u0431\u044d\u043a\u0430\u043f\u044b, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 &#8212; \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0447\u0435\u043a\u043b\u0438\u0441\u0442. \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 n8n \u0438 Make.com \u0441\u0442\u0440\u043e\u044f\u0442\u0441\u044f \u0432\u043e\u043a\u0440\u0443\u0433 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c, \u0437\u0430\u0442\u0435\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u044f\u0435\u043c. \u0422\u0430\u043c, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c, \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 realtime \u0438 Edge. \u0422\u0430\u043c, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u0430 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c, \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 supabase mcp \u043a\u0430\u043a \u0442\u043e\u043d\u043a\u0438\u0439 \u0441\u043b\u043e\u0439 \u043d\u0430\u0434 API. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 &#8212; \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u043c\u0430\u0433\u0438\u044f, \u0430 \u0440\u0435\u043c\u0435\u0441\u043b\u043e: \u043c\u0435\u043d\u044c\u0448\u0435 \u0445\u0430\u043a\u0430, \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432. \u0415\u0441\u043b\u0438 \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0430\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u043b\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0441\u043b\u043e\u0436\u043d\u043e &#8212; \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043f\u043e\u0440\u0430 \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0447\u0430\u0441\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0438 \u0432 \u0431\u0430\u0437\u0443 \u0438 \u0443\u0431\u0440\u0430\u0442\u044c \u0434\u0432\u0430 \u043b\u0438\u0448\u043d\u0438\u0445 \u0448\u0430\u0433\u0430 \u0438\u0437 \u0441\u0432\u043e\u0435\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u0438.<\/p>\n<h2>\u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u0435<\/h2>\n<p>\u0415\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0442\u0430\u043a\u0438\u0445 \u0441\u0442\u0435\u043a\u043e\u0432, \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e, \u0433\u0434\u0435 \u044f \u0431\u0435\u0437 \u0441\u043f\u0435\u0448\u043a\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e, \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0443 \u043c\u0435\u043d\u044f: \u0432 \u043c\u043e\u0435\u043c <a href=\"https:\/\/t.me\/promaren\" target=\"_blank\" rel=\"noopener\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u043a\u0430\u043d\u0430\u043b\u0435 MAREN<\/a> \u044f \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 n8n supabase, \u0441\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0438 \u0447\u0435\u0441\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u0440\u0438\u043a\u0438. \u0410 \u043d\u0430 <a href=\"https:\/\/promaren.ru\" target=\"_blank\" rel=\"noopener\">\u0441\u0430\u0439\u0442\u0435 MAREN<\/a> \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0447\u0435\u043c \u044f \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0441\u044c, \u043a\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e. \u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0438\u043b\u043e\u0442, \u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0434\u0435\u0438, \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0438 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e \u0431\u0435\u043b\u0443\u044e \u0437\u043e\u043d\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<h2 id=\"faq\">\u0427\u0430\u0441\u0442\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e \u044d\u0442\u043e\u0439 \u0442\u0435\u043c\u0435<\/h2>\n<h3>\u041c\u043e\u0436\u043d\u043e \u043b\u0438 \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u0441\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u043a\u043e<\/h3>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432 \u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0420\u0424, \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 supabase self hosting. \u0418\u043d\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u044e \u0441\u0440\u0435\u0434\u0443: dev \u0432 \u043e\u0431\u043b\u0430\u043a\u0435, prod \u0432 \u0441\u0430\u043c\u043e\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435.<\/p>\n<h3>\u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0438 \u0437\u0430\u0449\u0438\u0449\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f<\/h3>\n<p>\u0425\u0440\u0430\u043d\u0438\u0442\u0435 service_role \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0432 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432. \u0412 \u043a\u043b\u0438\u0435\u043d\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e anon key. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043f\u0440\u0430\u0432\u0430 \u0447\u0435\u0440\u0435\u0437 RLS \u0438 \u043d\u0435 \u0434\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c\u0441\u044f.<\/p>\n<h3>\u041d\u0443\u0436\u0435\u043d \u043b\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043c\u044b \u043d\u0435\u0432\u0435\u043b\u0438\u043a\u0438, pgvector \u0432\u043d\u0443\u0442\u0440\u0438 Supabase \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u0445\u043e\u0436\u0435\u0441\u0442\u0438. \u041f\u0440\u0438 \u0440\u043e\u0441\u0442\u0435 \u0438 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430\u0445 \u044d\u043c\u0431\u0435\u0434\u0434\u0438\u043d\u0433\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 Supabase \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u043f\u0440\u0430\u0432\u0434\u044b.<\/p>\n<h3>\u041a\u0430\u043a \u0441\u0432\u044f\u0437\u0430\u0442\u044c n8n \u0438 supabase \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0439 \u043c\u0430\u0433\u0438\u0438<\/h3>\n<p>\u0414\u043b\u044f \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 Postgres node \u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438. \u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u044b\u0445 CRUD \u043f\u043e\u0434\u043e\u0439\u0434\u0443\u0442 HTTP \u0432\u044b\u0437\u043e\u0432\u044b \u043a supabase api. \u041b\u043e\u0433\u0438 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 events \u0438 \u0441\u043b\u0435\u0434\u0438\u0442\u0435 \u0437\u0430 \u0440\u0435\u0442\u0440\u0430\u044f\u043c\u0438.<\/p>\n<h3>\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u043c\u0443\u043b\u044c\u0442\u0438\u043c\u0435\u0434\u0438\u0430<\/h3>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 CDN \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u0430. \u041c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u0440\u0436\u0438\u0442\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043b\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0434\u044b\u0440\u043a\u0438.<\/p>\n<h3>\u0420\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0431\u0430\u0437\u0443, \u0441\u0442\u043e\u0438\u0442 \u043b\u0438 \u0435\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432\u0435\u0437\u0434\u0435<\/h3>\n<p>\u041d\u0435\u0442, \u0432\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 \u0442\u043e\u0447\u0435\u0447\u043d\u043e. \u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u043f\u043e session_id \u0438\u043b\u0438 user_id \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435, \u0447\u0435\u043c \u043e\u0434\u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0442\u0435\u043c\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043b\u0443\u0447\u0448\u0435 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u043c\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438.<\/p>\n<h3>\u0413\u0434\u0435 \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438 API<\/h3>\n<p>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e api open ai. \u0410 \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u0442\u0435\u0433\u0430\u043c \u0434\u043b\u044f suno ai &#8212; \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0445.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c Supabase \u0434\u043b\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 AI-\u0430\u0433\u0435\u043d\u0442\u043e\u0432<\/p>\n","protected":false},"author":1,"featured_media":420,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[25],"tags":[34,33,38],"class_list":["post-421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-agenty-s-pamyatyu-i-rag","tag-ai-agents","tag-rag","tag-kontent-plan"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/posts\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":0,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/media\/420"}],"wp:attachment":[{"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promaren.ru\/blog\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}