# Mastra.getDeployer()
[EN] Source: https://mastra.ai/reference/core/getDeployer

The `.getDeployer()` method is used to retrieve the deployer instance that has been configured in the Mastra instance.

## Usage example

```typescript copy
mastra.getDeployer();
```

## Parameters

This method does not accept any parameters.

## Returns

<PropertiesTable
  content={[
    {
      name: "deployer",
      type: "MastraDeployer | undefined",
      description:
        "The configured deployer instance, or undefined if no deployer has been configured.",
    },
  ]}
/>

## Related

- [Deployment overview](/docs/deployment/overview)
- [Deployer reference](/reference/deployer/)


---
title: "Reference: Mastra.getLogger() | Core"
description: "Documentation for the `Mastra.getLogger()` method in Mastra, which retrieves the configured logger instance."
---