Connecting 1С-Bitrix

📅 July 21, 20262 min read
Table of Contents

How the Integration Works

AI SEO Writer publishes articles to 1С-Bitrix via a PHP script (seowriter.php) that you install on your server. The script receives article data and creates an info block element via Bitrix's internal API.

Step 1: Download and Install the Script

  1. In the site connection form, select 1С-Bitrix as the platform

  2. Click Download seowriter.php

  3. Upload the file to the root of your site — the same directory as the /bitrix/ folder

  4. Open the file in a text editor and replace CHANGE_ME with a secret key of your choice

script connect 1c bitrix seo writer

Step 2: Fill in the Connection Form

  • Script URL — full URL of the uploaded file, e.g. https://yoursite.ru/seowriter.php

  • API Key — the same secret key you put in the script

  • Info Block ID — numeric ID of the Bitrix info block where articles will be created (e.g., 5)

  • Info Block Type — usually news

  • Section ID (optional) — default section for new articles

Bitrix connection form in AI SEO Writer with all fields filled in and Test connection button

Step 3: Test the Connection

Click Test connection. If successful, click Save.

Common Errors

  • Script not accessible via URL — verify that seowriter.php opens in a browser

  • Secret key mismatch — the key in the form must exactly match the key in the file

  • Wrong info block ID — check in Bitrix admin panel under Content → Info Blocks

Updating Connection Credentials

If the secret key or script URL changes — do not delete the site. Deleting it will remove the link index and article history.

  1. Go to Sites → [Your site] → Settings → Connection

  2. Update the script URL, API key, or other fields

  3. Click Test connection, then Save

Was this article helpful?