diff --git a/client/src/app/admin/instance/components/instance-form.component.html b/client/src/app/admin/instance/components/instance-form.component.html
index 50d0b6e9d9355f18eec554dddbd1834556a47d14..9243f79a23dff939127080acc0cecfdb4f1df5f9 100644
--- a/client/src/app/admin/instance/components/instance-form.component.html
+++ b/client/src/app/admin/instance/components/instance-form.component.html
@@ -101,6 +101,10 @@
             </div>
         </accordion-group>
         <accordion-group heading="Functionalities" [isOpen]="true">
+            <div class="custom-control custom-switch mb-2">
+                <input class="custom-control-input" type="checkbox" id="samp_enabled" name="samp_enabled" formControlName="samp_enabled">
+                <label class="custom-control-label" for="samp_enabled">Samp enabled</label>
+            </div>
             <div class="custom-control custom-switch mb-2">
                 <input class="custom-control-input" type="checkbox" id="search_by_criteria_allowed" name="search_by_criteria_allowed" formControlName="search_by_criteria_allowed" (change)="checkDisableSearchByCriteriaAllowed()">
                 <label class="custom-control-label" for="search_by_criteria_allowed">Classic search allowed</label>
diff --git a/client/src/app/admin/instance/components/instance-form.component.ts b/client/src/app/admin/instance/components/instance-form.component.ts
index 2b2c5c7623cd2c190882942c209df2d04b970c0c..7166cfe4d07cfceb73be039302845f1f6c0473c7 100644
--- a/client/src/app/admin/instance/components/instance-form.component.ts
+++ b/client/src/app/admin/instance/components/instance-form.component.ts
@@ -42,6 +42,7 @@ at facilitating and homogenizing the implementation of astronomical data. It all
 the fast implementation of a project data exchange platform in a dedicated information system.`, [Validators.required]),
             home_component_logo: new FormControl('home_component_logo.png', [Validators.required])
         }),
+        samp_enabled: new FormControl(true),
         search_by_criteria_allowed: new FormControl(true),
         search_by_criteria_label: new FormControl({value: 'Search', disabled: false}),
         search_multiple_allowed: new FormControl(false),
diff --git a/client/src/app/app-config.service.ts b/client/src/app/app-config.service.ts
index 5c27615b80d28b2ceb482d880379fcbe06f8b4ff..604ad74d6184fe35542b8220aa14559210f06cce 100644
--- a/client/src/app/app-config.service.ts
+++ b/client/src/app/app-config.service.ts
@@ -5,7 +5,6 @@ export class AppConfigService {
     public apiUrl: string;
     public servicesUrl: string;
     public baseHref: string;
-    public sampEnabled: string;
     public authenticationEnabled: boolean;
     public ssoAuthUrl: string;
     public ssoRealm: string;
diff --git a/client/src/app/instance/search/containers/result.component.html b/client/src/app/instance/search/containers/result.component.html
index 3a1eabae5af2f0acd198072acf6a0cb04f590037..f35f242a6778fdffe594c45c74cc97972c5b7cc5 100644
--- a/client/src/app/instance/search/containers/result.component.html
+++ b/client/src/app/instance/search/containers/result.component.html
@@ -25,7 +25,7 @@
                     selected with <span class="font-weight-bold">{{ dataLength | async }}</span> objects found.
                 </div>
             </div>
-            <div *ngIf="sampEnabled()" class="jumbotron mb-4 py-4">
+            <div *ngIf="(instance | async).samp_enabled" class="jumbotron mb-4 py-4">
                 <div class="lead">
                     <ng-container *ngIf="!(sampRegistered | async)">
                         You are not connected to a SAMP-hub
diff --git a/client/src/app/instance/search/containers/result.component.ts b/client/src/app/instance/search/containers/result.component.ts
index 8d93cdbae7950f00c8b9e10c1b9fe5e0f054b688..d42af07bb21c20aae57f6ed3943914e839b62ff3 100644
--- a/client/src/app/instance/search/containers/result.component.ts
+++ b/client/src/app/instance/search/containers/result.component.ts
@@ -75,10 +75,6 @@ export class ResultComponent extends AbstractSearchComponent {
         });
     }
 
-    sampEnabled() {
-        return this.appConfig.sampEnabled;
-    }
-
     /**
      * Dispatches action to register to SAMP.
      */
diff --git a/client/src/app/metamodel/models/instance.model.ts b/client/src/app/metamodel/models/instance.model.ts
index 8e35fa2ebc6435c32c2c26d3ad106896b68b76bb..7962ff594997884de69813951c79a0b7c3f4bdab 100644
--- a/client/src/app/metamodel/models/instance.model.ts
+++ b/client/src/app/metamodel/models/instance.model.ts
@@ -28,6 +28,7 @@ export interface Instance {
         home_component_text: string;
         home_component_logo: string;
     };
+    samp_enabled: boolean;
     search_by_criteria_allowed: boolean;
     search_by_criteria_label: string;
     search_multiple_allowed: boolean;
diff --git a/conf-dev/create-db.sh b/conf-dev/create-db.sh
index 613958328fc2177cfeb043c6d98976d737d25269..83bd0d4d1c18042a57383a84d7e6d319c247973b 100644
--- a/conf-dev/create-db.sh
+++ b/conf-dev/create-db.sh
@@ -60,7 +60,7 @@ curl -d '{"label":"Spectra graph","value":"spectra_graph","display":20,"select_n
 curl -d '{"label":"Test","dbname":"anis_test","dbtype":"pdo_pgsql","dbhost":"db","dbport":5432,"dblogin":"anis","dbpassword":"anis"}' --header 'Content-Type: application/json' -X POST http://localhost/database
 
 # Add default instance
-curl -d '{"name":"default","label":"Default instance","description":"Instance for the test","display":10,"data_path":"\/DEFAULT","portal_logo":"","design_color":"#7AC29A","design_background_color":"#ffffff","design_logo":"logo.png","design_favicon":"favicon.ico","home_component":"WelcomeComponent","home_component_config":{"home_component_text":"AstroNomical Information System","home_component_logo":"home_component_logo.png"},"search_by_criteria_allowed":true,"search_by_criteria_label":"Search","search_multiple_allowed":false,"search_multiple_label":"Search multiple","search_multiple_all_datasets_selected":false,"documentation_allowed":false,"documentation_label":"Documentation"}' --header 'Content-Type: application/json' -X POST http://localhost/instance
+curl -d '{"name":"default","label":"Default instance","description":"Instance for the test","display":10,"data_path":"\/DEFAULT","portal_logo":"","design_color":"#7AC29A","design_background_color":"#ffffff","design_logo":"logo.png","design_favicon":"favicon.ico","home_component":"WelcomeComponent","home_component_config":{"home_component_text":"AstroNomical Information System","home_component_logo":"home_component_logo.png"},"samp_enabled":true,"search_by_criteria_allowed":true,"search_by_criteria_label":"Search","search_multiple_allowed":false,"search_multiple_label":"Search multiple","search_multiple_all_datasets_selected":false,"documentation_allowed":false,"documentation_label":"Documentation"}' --header 'Content-Type: application/json' -X POST http://localhost/instance
 
 # Add ANIS, SVOM and IRIS surveys
 curl -d '{"name":"anis_survey","label":"ANIS survey","description":"Survey used for testing","link":"https://anis.lam.fr","manager":"F. Agneray","id_database":1}' --header 'Content-Type: application/json' -X POST http://localhost/survey
diff --git a/docker-compose.yml b/docker-compose.yml
index eb381ed7d8dee10fa27881a1aa850ecef5d7f806..06b8074d7e6be4d1320d0781535d17d99d006895 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -33,11 +33,10 @@ services:
             LOGGER_LEVEL: "debug"
             SERVICES_URL: "http://localhost:5000"
             BASE_HREF: "/"
-            SAMP_ENABLED: 1
             SSO_AUTH_URL: "http://localhost:8180/auth"
             SSO_REALM: "anis"
             SSO_CLIENT_ID: "anis-client"
-            TOKEN_ENABLED: 1
+            TOKEN_ENABLED: 0
             TOKEN_JWKS_URL: "http://keycloak:8180/auth/realms/anis/protocol/openid-connect/certs"
             TOKEN_ADMIN_ROLES: anis_admin,superuser
             RMQ_HOST: rmq
diff --git a/server/app/settings.php b/server/app/settings.php
index 5ceab1a828e734839f433086ea9b782ac2001a03..e062e3ef440da113b8ce0268cb6f3f1faa6b1cd3 100644
--- a/server/app/settings.php
+++ b/server/app/settings.php
@@ -35,7 +35,6 @@ return [
     ],
     'services_url' => getenv('SERVICES_URL'),
     'base_href' => getenv('BASE_HREF'),
-    'samp_enabled' => getenv('SAMP_ENABLED'),
     'sso' => [
         'auth_url' => getenv('SSO_AUTH_URL'),
         'realm' => getenv('SSO_REALM'),
diff --git a/server/src/Action/ClientSettingsAction.php b/server/src/Action/ClientSettingsAction.php
index 5b84798e34a73373b5ab6dd75a0c194c04b92dfe..9ccc6f48de67f3a928bdc060c7cd128010246f6e 100644
--- a/server/src/Action/ClientSettingsAction.php
+++ b/server/src/Action/ClientSettingsAction.php
@@ -52,7 +52,6 @@ final class ClientSettingsAction
         $payload = json_encode(array(
             'servicesUrl' => $this->settings['services_url'],
             'baseHref' => $this->settings['base_href'],
-            'sampEnabled' => boolval($this->settings['samp_enabled']),
             'authenticationEnabled' => boolval($this->settings['token']['enabled']),
             'ssoAuthUrl' => $this->settings['sso']['auth_url'],
             'ssoRealm' => $this->settings['sso']['realm'],
diff --git a/server/src/Action/InstanceAction.php b/server/src/Action/InstanceAction.php
index ca8600d0c37bee5944e4daf6a6c40ba5567a35f1..750bd1b7db89af5328f3e942bfdb2a12e03e9eb3 100644
--- a/server/src/Action/InstanceAction.php
+++ b/server/src/Action/InstanceAction.php
@@ -106,6 +106,7 @@ final class InstanceAction extends AbstractAction
         $instance->setDesignFavicon($parsedBody['design_favicon']);
         $instance->setHomeComponent($parsedBody['home_component']);
         $instance->setHomeComponentConfig($parsedBody['home_component_config']);
+        $instance->setSampEnabled($parsedBody['samp_enabled']);
         $instance->setSearchByCriteriaAllowed($parsedBody['search_by_criteria_allowed']);
         $instance->setSearchByCriteriaLabel($parsedBody['search_by_criteria_label']);
         $instance->setSearchMultipleAllowed($parsedBody['search_multiple_allowed']);
diff --git a/server/src/Action/InstanceListAction.php b/server/src/Action/InstanceListAction.php
index f0b6fe344019f0d89fbb6ed7ca0a5a78af474977..628961d416fd4feedb7537c17f614daee1d25e85 100644
--- a/server/src/Action/InstanceListAction.php
+++ b/server/src/Action/InstanceListAction.php
@@ -89,6 +89,7 @@ final class InstanceListAction extends AbstractAction
         $instance->setDesignFavicon($parsedBody['design_favicon']);
         $instance->setHomeComponent($parsedBody['home_component']);
         $instance->setHomeComponentConfig($parsedBody['home_component_config']);
+        $instance->setSampEnabled($parsedBody['samp_enabled']);
         $instance->setSearchByCriteriaAllowed($parsedBody['search_by_criteria_allowed']);
         $instance->setSearchByCriteriaLabel($parsedBody['search_by_criteria_label']);
         $instance->setSearchMultipleAllowed($parsedBody['search_multiple_allowed']);
diff --git a/server/src/Entity/Instance.php b/server/src/Entity/Instance.php
index 9786c1380f72e613c5f3831c7826bc2e558a2617..213386f3f88fdb1a7e578d8d21b5a85ef8c1170d 100644
--- a/server/src/Entity/Instance.php
+++ b/server/src/Entity/Instance.php
@@ -108,6 +108,13 @@ class Instance implements \JsonSerializable
      */
     protected $homeComponentConfig;
 
+    /**
+     * @var bool
+     *
+     * @Column(type="boolean", name="samp_enabled", nullable=false)
+     */
+    protected $sampEnabled;
+
     /**
      * @var bool
      *
@@ -286,6 +293,16 @@ class Instance implements \JsonSerializable
         $this->homeComponentConfig = $homeComponentConfig;
     }
 
+    public function getSampEnabled()
+    {
+        return $this->sampEnabled;
+    }
+
+    public function setSampEnabled($sampEnabled)
+    {
+        $this->sampEnabled = $sampEnabled;
+    }
+
     public function getSearchByCriteriaAllowed()
     {
         return $this->searchByCriteriaAllowed;
@@ -385,6 +402,7 @@ class Instance implements \JsonSerializable
             'design_favicon' => $this->getDesignFavicon(),
             'home_component' => $this->getHomeComponent(),
             'home_component_config' => $this->getHomeComponentConfig(),
+            'samp_enabled' => $this->getSampEnabled(),
             'search_by_criteria_allowed' => $this->getSearchByCriteriaAllowed(),
             'search_by_criteria_label' => $this->getSearchByCriteriaLabel(),
             'search_multiple_allowed' => $this->getSearchMultipleAllowed(),