Every host and framework
Set up Constile on Drupal
Constile's gate runs in front of your pages. An AI agent fetching a page for a person gets an offer; people, search engines, and subscribers get your site as they do today.- Add the moduleDownload
constile-drupal-0.6.0.zipand unzip it intoweb/modules/custom/, then turn it on:drush en constile
- Enter your site's settingsGo to Configuration > Web services > Constile, enter these, check that Site URL is your public address, and save:Use the secret shown when you added this site. If you don't have it, make a new one under Manage; the old one stops working at once.
Site ID: your-site-id Site secret: your-site-secret Network URL: https://constile.app
- Check the installDeploy, then select Check install on your site's page. The network asks your domain for
/.well-known/constile, and the gate answers with your site secret. Then Test my site shows what a person, a search crawler, and an AI agent each get.
Turn it off
Fastest, from your dashboard: once the gate is installed, select Pause offers under Manage on your site's page. The network stops making offers, and the gate passes every request through within a minute. Nothing changes on your server.On your site: Go to Configuration > Web services > Constile, check Turn the gate off, and save. If you can't reach that page, add
$settings['constile_disabled'] = TRUE; to settings.php.To take it out: Run drush pmu constile.Off or paused, people, search crawlers, subscribers, and your other ads get your site exactly as before.