Magento offers dynamic retrieval of rates from various shipping providers. To enable and configure online rates, see the configuration for the following carriers:
Setting up online rates is similar to setting up Flat Rates. Because the online rate options differ for each service, contact the carrier for more information.
Most shipping providers require that you open an account with them. Consult your shipping provider for details on how to obtain API credentials.