Can I install extensions?

Hi, I'm trying to work with the earthdistance() command and to use it I need to install the following extensions.

create extension if not exists cube;
create extension if not exists earthdistance;

I wanted to know if there is a way to know which extensions are available in my current metabase version. And If these extensions are not available, can I get them somehow?

  "browser-info": {
    "language": "es-419",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
    "vendor": "Google Inc."
  "system-info": {
    "file.encoding": "UTF-8",
    "": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.7+10",
    "java.vendor": "AdoptOpenJDK",
    "java.vendor.url": "",
    "java.version": "11.0.7",
    "": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.7+10",
    "": "Linux",
    "os.version": "5.4.129-63.229.amzn2.x86_64",
    "user.language": "en",
    "user.timezone": "America/Argentina/Buenos_Aires"
  "metabase-info": {
    "databases": [
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "10.15"
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.2.8"
    "run-mode": "prod",
    "version": {
      "date": "2021-01-05",
      "tag": "v0.37.5",
      "branch": "release-x.37.x",
      "hash": "be537ee"
    "settings": {
      "report-timezone": "America/Buenos_Aires"

Hi @Vallistruqui
Metabase is not a database.
I'm guessing you're referring to Postgres extensions. You would run such commands on your Postgres server.
Latest version of Metabase is 0.40.2: