ALLMEDIA.AI
AdvancedSet up a channel connection

TYPO3 connection

Step-by-step guide to connecting a TYPO3 website to ALLMEDIA.AI so that news posts and pages can be published automatically.

Duration approx. 20–30 minutesRoles: ALLMEDIA admin + TYPO3 adminAs of November 2026 · extension v1.0.38

Requirements

Please clarify these before you start — if any of them is missing, the setup will get stuck.

On the customer side (TYPO3)

  • Administrator access to the TYPO3 backend
  • Permission to install extensions (backend or Composer)
  • The website is publicly reachable via HTTPS
  • Optional: SFTP access for troubleshooting

On the ALLMEDIA side

  • Access to the right workspace
  • Permission to create channel connections
  • A channel to which the connection will be assigned later
  • Channel connection quota not yet used up

How the connection works

ALLMEDIA.AI talks to TYPO3 via the REST API of the nnrestapi extension. Authentication uses HTTP Basic Auth with a TYPO3 backend user and an API key.

ALLMEDIA.AI
→
HTTPS Basic Auth
→
EXT:nnrestapi
→
/api/news · /api/pages
→
TYPO3 page tree

The setup has two parts: one in the TYPO3 backend (extensions, user, API key) and one in the ALLMEDIA app (connection details, storage locations, channel assignment). It’s best to open both systems side by side in two browser tabs.

1 Create the connection and download the extension

  1. Open channel connections

    In the ALLMEDIA app, select the right workspace and switch to Setup.

    Setup → Content & channels → Channel connections
    The “Channel connections” overview. Top right: the Connect channel button.
    The “Channel connections” overview. Top right: the Connect channel button.
  2. Start a new connection

    Click “Connect channel” at the top right. The “Select connector type” dialog opens.

  3. Select TYPO3

    Type TYPO3 in the search field and click the tile TYPO3 — “Publish content directly on TYPO3 websites”. The “New TYPO3 Connector” dialog opens.

    Note: you can create several TYPO3 connections in parallel, e.g. for several websites.

    Type selection after searching for “TYPO3”.
    Type selection after searching for “TYPO3”.
  4. Give it a name

    Enter a meaningful name in the Name field, such as TYPO3 company website. The name will later appear in the list of channel connections and in the channel workflow.

  5. Download the AllMedia extension

    In the dialog, click “Download Extension” (file allmedia.zip, approx. 171 KB). This extension provides the flat endpoints /api/news, /api/pages and /api/category that ALLMEDIA uses.

    Required before any TYPO3 steps. Without this extension, the API returns no data. Don’t rename the ZIP file — TYPO3 derives the extension key from the file name.
    The “New TYPO3 Connector” dialog with name field, download button and the Connection / Defaults tabs.
    The “New TYPO3 Connector” dialog with name field, download button and the Connection / Defaults tabs.

2 Prepare the TYPO3 backend

The TYPO3 administrator carries out these steps. The click-by-click guide is also available in the connector dialog under “How to set up TYPO3 (6 steps)”.

The expanded guide in the connector — identical to the following steps.
The expanded guide in the connector — identical to the following steps.
  1. Install the AllMedia extension

    TYPO3 backend → Extensions → “Upload Extension”

    Upload the downloaded ZIP unchanged and activate it. Alternatively, unpack it manually to typo3conf/ext/allmedia/ or use Composer:

    composer require allmedia/typo3-integration
  2. Install the nnhelpers and nnrestapi extensions

    TYPO3 backend → Admin Tools → Extensions → “Get Extensions”

    Search for nnhelpers (version ≥ 13.1.5) and install it. Then run the same search for nnrestapi. Alternatively, upload them as ZIP files via “Upload Extension .t3x/.zip”.

  3. Option A — activate the site set “ALLMEDIA Integration”

    TYPO3 backend → Site Management → Sites → edit site → section “Sets for this Site”

    In the right-hand field “Available Items”, select the entry “ALLMEDIA Integration” and move it with the left arrow into the “Selected Items” field → Save. This is enough for the frontend and the API, because the set automatically brings along the nnrestapi TypoScript; you don’t need to include it manually via Web → Template.

    After every extension update: run Admin Tools → Maintenance → “Flush TYPO3 and PHP Cache” once — otherwise the set won’t appear under “Available Items”. If the site configuration reports INVALID VALUE ('Site set allmedia/allmedia not found'), the extension is not yet installed in the current version (at least 1.0.7).
  4. Option B — create a TypoScript record at the root

    TYPO3 backend → Web → List → root page → new record → “TypoScript record”

    Additionally required for the nnrestapi backend module. Symptom if this step is missing: the RestApi backend module shows “Where's my TypoScript? — No TypoScript configuration found.” and the API returns no data.

    How to fix it: create a new TypoScript record → “Advanced Options” tab → “Include TypoScript sets” field → add “RestApi Configuration (nnrestapi)” (and optionally “ALLMEDIA Integration”) to the Selected Items → activate “Rootlevel” → save → clear the cache.

    Important: make sure to leave the Clear: Constants and Clear: Setup checkboxes EMPTY. They delete the inherited TypoScript setup of the rootline, including the page = PAGE object that the frontend and API need for rendering. Otherwise the result is HTTP 500 on / and on all /api/… endpoints.

    Option A is enough for the frontend and API; option B is additionally required for the nnrestapi backend module. In practice, this very step is the most common cause when everything “seems to be configured correctly” but the API stays empty.

  5. Create a backend user for the API

    TYPO3 backend → System → Backend Users → New (or edit an existing user)

    Recommended username: allmedia. This name must match the “API User” field in the ALLMEDIA app exactly. Assign the user a group with nnrestapi permission.

  6. Enter the API key in the extension configuration

    TYPO3 backend → Admin Tools → Settings → Extension Configuration → nnrestapi → tab “basic”

    In the “API-Keys for BasicAuth” field (key basic.apiKeys), add one entry per line in the format username:apikey, for example:

    allmedia:dA8...32characters...Xy

    The username must match the backend user from the previous step exactly. You choose the API key yourself (random string, at least 32 characters) — or you let the ALLMEDIA app generate it (see part 3). Save — done.

3 Establish and test the connection in ALLMEDIA

Back in the “New TYPO3 Connector” dialog, Connection tab.

  1. Enter the website URL

    The URL of the TYPO3 website including https://, for example https://www.example.com.

  2. Enter the API user

    The TYPO3 backend user with nnrestapi permission. Default and recommendation: allmedia.

  3. Set the API key

    Two options:

    a) Generate the key in ALLMEDIA — click “Generate Key”. Then use “Copy User:Key” to copy the finished line in the format allmedia:WKxzFa… and paste it exactly like that in TYPO3 under nnrestapi → basic.apiKeys.

    b) Use an existing key — enter the key stored in TYPO3 directly in the API Key field.

    ALLMEDIA stores the key encrypted and sends it to TYPO3 as HTTP Basic Auth. For an existing connection, it is hidden and can be overwritten via “Reset”.

    The connection fields: Website URL, API User, API Key with Generate Key and Copy User:Key.
    The connection fields: Website URL, API User, API Key with Generate Key and Copy User:Key.
  4. Optional: check the endpoint paths

    Under “Advanced: Endpoint paths” you find the default paths /api/pages and /api/news. Only change them if the TYPO3 installation uses different paths. The paths are relative to the website URL and start with /.

  5. Test the connection

    Click “Test connection”. If it succeeds, “Authentication successful” appears together with a message such as “Connected · 6 pages loaded”.

    Only once the test is green should you save and continue with the mapping. A red test almost always means: wrong username, wrong key or missing TypoScript configuration.
    Successful test: Authentication successful, plus the message “Connected · 6 pages loaded”.
    Successful test: Authentication successful, plus the message “Connected · 6 pages loaded”.
  6. Read the endpoint diagnosis

    After the test, the Endpoint Diagnosis expands below. It shows individually whether nnrestapi is reachable, whether the ALLMEDIA plugin is installed and which endpoints respond with OK (200). This is the fastest way to find the cause when something is missing.

    Endpoint diagnosis with status information on nnrestapi, ALLMEDIA Core and the optional EXT:news.
    Endpoint diagnosis with status information on nnrestapi, ALLMEDIA Core and the optional EXT:news.
  7. Save

    Finish with “Save”. The connection now appears in the list of channel connections with the status Connected.

4 Set storage locations and defaults

In the same dialog, switch to the Defaults tab. This is where you define where ALLMEDIA writes the content in TYPO3.

  1. Load storage locations

    Click “Refresh”. ALLMEDIA reads the page tree; below it, the number of entries found appears with a timestamp.

  2. News posts → storage folder

    Select the sysfolder that holds the news records, e.g. News (UID 2).

  3. Standard pages → target page

    Select the page under which new subpages are created, e.g. Blog (UID 1).

    Background: in TYPO3, posts such as news or blog articles are traditionally stored in a storage folder (internally a “sysfolder”, doktype 254) in the page tree — not directly as a visible page. Standard pages (doktype 1), on the other hand, are created directly as subpages. These folders and target pages must exist in the TYPO3 backend and are selected here.
    Defaults tab: loaded storage locations, news storage folder and target page.
    Defaults tab: loaded storage locations, news storage folder and target page.
  4. Set the default language

    The default value is Default · UID 0. TYPO3 doesn’t provide a list of languages via the API (no /api/site endpoint) — so take the UID from the TYPO3 backend under Site Management.

  5. Save

    Apply the changes with “Save”.

5 Assign the connection to a channel

A channel connection on its own doesn’t publish anything yet. It has to be set as the publishing destination in a channel’s workflow.

  1. Open the channel

    Setup → Content & channels → Channels → click the channel you want

    Alternatively, directly from the connector dialog via the “Linked channels” tab.

  2. Switch to workflow mode

    Click “Workflow” at the top. The channel’s stations are shown as a process.

  3. Set the publication

    In the “Publication” station, click “Change” and select the TYPO3 connection. It then appears as an entry in the station.

    The channel’s workflow mode: Publication station with the assigned TYPO3 connection.
    The channel’s workflow mode: Publication station with the assigned TYPO3 connection.
  4. Check approval

    In the “Approvals” station, control whether posts have to be approved before publication. Changes are saved automatically (“Saved” at the top right).

  5. Publish a test post

    Publish a test post via the channel and check in the TYPO3 backend whether the record is in the selected storage folder.

Field reference

FieldTabMeaning / default value
Name—Internal display name of the connection. Free choice.
Website URLConnectionURL of the TYPO3 website incl. https://. Required field.
API UserConnectionTYPO3 backend user with nnrestapi permission. Default: allmedia.
API KeyConnectionKey of the nnrestapi user. Stored encrypted, can be created via “Generate Key”.
Pages endpointConnection → AdvancedDefault /api/pages. Only change it if the TYPO3 configuration differs.
News endpointConnection → AdvancedDefault /api/news.
News posts → storage folderDefaultsSysfolder for news records.
Standard pages → target pageDefaultsParent page for newly created subpages.
Default languageDefaultsLanguage UID from the TYPO3 site management. Default 0.

Troubleshooting

SymptomCause and solution
INVALID VALUE ('Site set allmedia/allmedia not found') in the site configurationThe AllMedia extension is not installed in the current version (at least 1.0.7). Update the extension, then flush the TYPO3 and PHP cache.
The set “ALLMEDIA Integration” doesn’t appear under “Available Items”The cache wasn’t flushed after the extension update: Admin Tools → Maintenance → Flush TYPO3 and PHP Cache.
“Where's my TypoScript? — No TypoScript configuration found.” in the RestApi backend moduleThe TypoScript record at the root is missing. Carry out option B in part 2.
HTTP 500 on / and on all /api/… endpointsClear: Constants or Clear: Setup was activated in the TypoScript record. Remove the checkmarks, save, clear the cache.
The API responds but returns no dataUsually the nnrestapi TypoScript is missing (option A or B) or the user has no nnrestapi permission.
Authentication failsThe username in ALLMEDIA and in basic.apiKeys must be exactly identical. Format per line: username:apikey, key at least 32 characters.
Everything looks right, but the connection still failsOpen config/system/additional.php via SFTP. If it contains a line $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['nnrestapi']['apiKeys'] = '…';, the entry has been saved correctly.
No storage locations can be selected in DefaultsFirst run “Test connection”, then click “Refresh” in the Defaults tab.
Support: at the bottom of the “Channel connections” page, there is the section “Something's not working? Let us know.” with the “Request help” button. Briefly describe where you’re stuck — the team will get in touch.